Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 116.9 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 187.9 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 71.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 151.6 MB / 1.167 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002205/1.183, allocations: 0.7513 MB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001507/1.185, allocations: 1.154 MB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/1.185, allocations: 0 / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/1.185, allocations: 3.938 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/1.185, allocations: 11.88 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/1.186, allocations: 130.6 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/1.186, allocations: 131.7 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/1.186, allocations: 12 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/1.186, allocations: 47.84 kB / 1.17 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/1.186, allocations: 47.86 kB / 1.17 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/1.186, allocations: 12 kB / 1.17 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/1.186, allocations: 27.98 kB / 1.17 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/1.186, allocations: 11.94 kB / 1.17 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/1.186, allocations: 47.83 kB / 1.17 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/1.186, allocations: 112.6 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.186, allocations: 0 / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/1.187, allocations: 0 / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.187, allocations: 0 / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006289/1.187, allocations: 409 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.187, allocations: 12.03 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/1.187, allocations: 12.89 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/1.187, allocations: 176.2 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/1.187, allocations: 12.31 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/1.187, allocations: 8.312 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/1.188, allocations: 66.22 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.188, allocations: 192 / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.188, allocations: 3.938 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/1.188, allocations: 0 / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/1.188, allocations: 47.95 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/1.188, allocations: 336.7 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/1.189, allocations: 58.55 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/1.189, allocations: 36.97 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/1.189, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/1.189, allocations: 87.34 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/1.189, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.0004542/1.189, allocations: 149.7 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.189, allocations: 59.39 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/1.19, allocations: 117.8 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.19, allocations: 29.7 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/1.19, allocations: 92.12 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/1.19, allocations: 23.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/1.19, allocations: 37.7 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.19, allocations: 318.8 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/1.19, allocations: 51.97 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/1.19, allocations: 85.38 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/1.191, allocations: 149.8 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.191, allocations: 3.938 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004344/1.191, allocations: 203.2 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/1.191, allocations: 33.7 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/1.191, allocations: 4.125 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.191, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/1.191, allocations: 19.92 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.191, allocations: 4 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/1.191, allocations: 31.95 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/1.191, allocations: 4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.831e-05/1.192, allocations: 132 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/1.192, allocations: 11.94 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/1.192, allocations: 12.36 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.192, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.192, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/1.192, allocations: 89 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/1.192, allocations: 0 / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/1.192, allocations: 7.984 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/1.192, allocations: 15.86 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003237/1.192, allocations: 196.8 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003255/1.192, allocations: 278.7 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001132/1.193, allocations: 39.91 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.119e-05/1.193, allocations: 99.2 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of Backend: time 4.11e-07/1.193, allocations: 0 / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006353/1.193, allocations: 225.8 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005641/1.194, allocations: 0.6088 MB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of Templates: time 0.004485/1.198, allocations: 1.552 MB / 1.176 GB, free: 11.28 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches