Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008136/0.008136, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00159/0.001591, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9669/0.9682, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002238/0.9705, allocations: 0.711 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.9717, allocations: 0.8311 MB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.9717, allocations: 1.156 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.9718, allocations: 8.688 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.9719, allocations: 4.844 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.9721, allocations: 20.86 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.9722, allocations: 47.02 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.9724, allocations: 12.31 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.9724, allocations: 16.86 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.9725, allocations: 19.23 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.9725, allocations: 4.25 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.9726, allocations: 8.094 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.9726, allocations: 10.75 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.9726, allocations: 22.55 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.9727, allocations: 45.25 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9727, allocations: 1.156 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9728, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.9728, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 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.0006578/0.9734, allocations: 385.3 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9735, allocations: 9.344 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.9735, allocations: 7.5 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/0.9736, allocations: 170.4 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.9736, allocations: 6.219 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.9737, allocations: 2.875 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.9739, allocations: 65.28 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.9739, allocations: 192 / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.9739, allocations: 4.906 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.974, allocations: 1.125 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.9742, allocations: 51.17 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.9747, allocations: 300.7 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.975, allocations: 52.67 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.9751, allocations: 25.52 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.9751, allocations: 0.6094 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.9751, allocations: 36.59 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.9751, allocations: 0 / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003689/0.9755, allocations: 95.16 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.9755, allocations: 52.02 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.693e-05/0.9756, allocations: 110.7 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.9756, allocations: 25.7 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.9757, allocations: 100.2 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.9757, allocations: 9.75 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.9758, allocations: 15.11 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.9758, allocations: 321.4 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.976, allocations: 20.77 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.976, allocations: 21.86 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.9762, allocations: 52.47 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9762, allocations: 0 / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002024/0.9764, allocations: 82.62 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.9765, allocations: 8.016 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9765, allocations: 0 / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.9765, allocations: 1.5 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.9766, allocations: 9.219 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.9766, allocations: 5.312 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.9767, allocations: 17.81 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.9767, allocations: 5.125 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.415e-05/0.9768, allocations: 116.8 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.9768, allocations: 3.328 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.9771, allocations: 85.78 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.9771, allocations: 1.219 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9771, allocations: 4 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9771, allocations: 0.5156 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.9773, allocations: 171 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9773, allocations: 0 / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.9773, allocations: 9.141 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9774, allocations: 0.8438 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.9774, allocations: 1.141 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9774, allocations: 0.5938 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9774, allocations: 4.797 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.9776, allocations: 175.5 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.9777, allocations: 78.91 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.9777, allocations: 1.641 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.9778, allocations: 23.3 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.9779, allocations: 4.891 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.9779, allocations: 2.172 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.978, allocations: 90.09 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.978, allocations: 0 / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002312/0.9782, allocations: 6.156 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001195/0.9783, allocations: 102.6 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.9786, allocations: 55 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9786, allocations: 0 / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/0.9787, allocations: 23.52 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.979, allocations: 9.125 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.9793, allocations: 137.3 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.9795, allocations: 0.6812 MB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.9795, allocations: 6.328 kB / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.9796, allocations: 11.05 kB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.9796, allocations: 0 / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of Templates: time 0.004029/0.9836, allocations: 0.8169 MB / 1.094 GB, free: 0.7695 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches