Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.519/2.519, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8087, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001915/0.8107, allocations: 1.089 MB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.8116, allocations: 0.9912 MB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.8117, allocations: 2.562 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.8118, allocations: 28.52 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.8119, allocations: 23.8 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.8121, allocations: 71.05 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.8123, allocations: 180.9 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.8124, allocations: 58.39 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.8125, allocations: 69.02 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.8126, allocations: 79.95 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.8126, allocations: 16.31 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.672e-05/0.8127, allocations: 15.62 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.8127, allocations: 46.75 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.8128, allocations: 76.52 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.8129, allocations: 182.8 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8129, allocations: 0 / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8129, allocations: 0 / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8129, allocations: 0.9375 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006263/0.8136, allocations: 486.3 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.8136, allocations: 13.25 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.8136, allocations: 47.53 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.8137, allocations: 18.34 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.8139, allocations: 226 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.8139, allocations: 15 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.8139, allocations: 15.62 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.8142, allocations: 159.5 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.8142, allocations: 1.062 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.8142, allocations: 7.047 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8142, allocations: 4.156 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.8145, allocations: 103.7 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008807/0.8154, allocations: 0.5387 MB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.8157, allocations: 138.1 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.8159, allocations: 85.39 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.8159, allocations: 3.656 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.8161, allocations: 119 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.8161, allocations: 0 / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0004773/0.8166, allocations: 226 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.8166, allocations: 58.34 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8167, allocations: 166.8 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.8167, allocations: 30.48 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.8167, allocations: 120.3 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.8168, allocations: 69.19 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.8168, allocations: 39.22 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.8169, allocations: 327.3 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.8171, allocations: 70.11 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.8172, allocations: 88.94 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.8176, allocations: 149.1 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8176, allocations: 0.8438 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004288/0.818, allocations: 220.1 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.818, allocations: 9.344 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.818, allocations: 4.812 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.818, allocations: 0.75 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.8182, allocations: 36.88 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8182, allocations: 2.031 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.8183, allocations: 34.64 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.8183, allocations: 9.562 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.8184, allocations: 132.6 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.8184, allocations: 14.56 kB / 1.278 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.8188, allocations: 193.4 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.8188, allocations: 1.969 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.8188, allocations: 4 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8188, allocations: 1.188 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.8195, allocations: 0.5806 MB / 1.279 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.8195, allocations: 9.719 kB / 1.279 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.8196, allocations: 36.12 kB / 1.279 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.8196, allocations: 6.625 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.8197, allocations: 4.766 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.8197, allocations: 5.656 kB / 1.279 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8197, allocations: 7.297 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.8201, allocations: 380.3 kB / 1.279 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.8202, allocations: 104.3 kB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.8202, allocations: 9.031 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.8203, allocations: 11.39 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.8204, allocations: 25.59 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.8204, allocations: 7.375 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.8205, allocations: 116.9 kB / 1.279 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8205, allocations: 0 / 1.279 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002508/0.8207, allocations: 39.95 kB / 1.279 GB, free: 2.133 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006372/0.8213, allocations: 0.9166 MB / 1.28 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.8217, allocations: 150.7 kB / 1.28 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8217, allocations: 5.062 kB / 1.28 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.8219, allocations: 91.05 kB / 1.281 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.8222, allocations: 28.14 kB / 1.281 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.8244, allocations: 2.13 MB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.8247, allocations: 0.7257 MB / 1.283 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.174e-05/0.8248, allocations: 19.92 kB / 1.283 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.8249, allocations: 59.98 kB / 1.283 GB, free: 14.87 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.8249, allocations: 0 / 1.283 GB, free: 14.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.8505, allocations: 3.617 MB / 1.287 GB, free: 14.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.795, allocations: 15.31 kB / 1.287 GB, free: 14.36 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,der1.y,intWitRes.u,der2.y,der1.T Variables in the result:T.k,T.y,abs.u,abs.y,assMes.u,booSig.k,booSig.y,con.k,con.y,con2.k,con2.y,cos.u,cos.y,der(der1.x),der(der2.x),der(intWitRes.y),der1.T,der1.k,der1.u,der1.x,der1.y,der1.y_start,der2.T,der2.k,der2.u,der2.x,der2.y,der2.y_start,gai.k,gai.u,gai.y,intWitRes.k,intWitRes.trigger,intWitRes.u,intWitRes.y,intWitRes.y_reset_in,intWitRes.y_start,lesThr.h,lesThr.pre_y_start,lesThr.t,lesThr.u,lesThr.y,modTim.y,ram.duration,ram.height,ram.offset,ram.startTime,ram.y,sub.u1,sub.u2,sub.y,time [Calling sys.exit(0), Time elapsed: 13.207191875999342]