Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_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_10_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.001732/0.001732, allocations: 109.6 kB / 16.41 MB, free: 6.516 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.00174/0.00174, allocations: 183.9 kB / 17.35 MB, free: 5.73 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.16 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.748/2.748, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 59.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 151.7 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002489/1.077, allocations: 0.7085 MB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001375/1.079, allocations: 0.8297 MB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/1.079, allocations: 0 / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/1.079, allocations: 7.938 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/1.079, allocations: 7.938 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/1.079, allocations: 31.89 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/1.079, allocations: 39.92 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/1.08, allocations: 19.91 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/1.08, allocations: 12 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/1.08, allocations: 27.84 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/1.08, allocations: 4 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/1.08, allocations: 4 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/1.08, allocations: 11.98 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/1.08, allocations: 19.86 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/1.08, allocations: 43.88 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.08, allocations: 0 / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.687e-06/1.08, allocations: 0 / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.08, allocations: 0 / 1.169 GB, free: 2.074 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.000809/1.081, allocations: 379.2 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.081, allocations: 12.92 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/1.081, allocations: 4.844 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/1.081, allocations: 178.1 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/1.081, allocations: 8.297 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/1.081, allocations: 4.375 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/1.081, allocations: 62.22 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/1.082, allocations: 192 / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.082, allocations: 7.938 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/1.082, allocations: 4 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/1.082, allocations: 43.95 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/1.082, allocations: 300.7 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/1.083, allocations: 50.55 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/1.083, allocations: 28.98 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/1.083, allocations: 0 / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.083, allocations: 30.56 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.552e-06/1.083, allocations: 7.938 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004183/1.083, allocations: 97.48 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/1.083, allocations: 51.41 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/1.084, allocations: 109.8 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/1.084, allocations: 33.7 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/1.084, allocations: 92.06 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/1.084, allocations: 3.906 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/1.084, allocations: 21.72 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.084, allocations: 318.8 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/1.084, allocations: 19.98 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/1.084, allocations: 19.98 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/1.084, allocations: 52.84 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.084, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000243/1.085, allocations: 77.66 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.085, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.085, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.085, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/1.085, allocations: 7.984 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.085, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/1.085, allocations: 27.88 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.085, allocations: 384 / 1.171 GB, free: 15.82 MB / 0.9044 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 0.0001314/1.085, allocations: 118.1 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/1.085, allocations: 3.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/1.085, allocations: 81.53 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.085, allocations: 3.938 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.085, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/1.086, allocations: 85.02 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/1.086, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/1.086, allocations: 15.97 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/1.086, allocations: 7.938 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003552/1.086, allocations: 168.8 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000314/1.086, allocations: 238.8 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001091/1.087, allocations: 27.97 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.396e-05/1.087, allocations: 91.27 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of Backend: time 2.525e-06/1.087, allocations: 4 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004832/1.087, allocations: 108.5 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000759/1.088, allocations: 0.5872 MB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.003625/1.092, allocations: 0.9089 MB / 1.173 GB, free: 13.28 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches