Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001686/0.001686, allocations: 190.3 kB / 16.13 MB, free: 6.645 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 64.08 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.7821, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00188/0.7841, allocations: 0.8009 MB / 0.9498 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.7854, allocations: 1.28 MB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.7854, allocations: 4 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.7855, allocations: 3.938 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.7856, allocations: 15.41 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.7861, allocations: 220.3 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.7863, allocations: 232 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.7864, allocations: 23.08 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.7865, allocations: 88.22 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.7866, allocations: 74.36 kB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.7866, allocations: 13.38 kB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.7867, allocations: 32.3 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.7867, allocations: 30.17 kB / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.802e-05/0.7868, allocations: 87.86 kB / 0.9519 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.787, allocations: 206.2 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.787, allocations: 8 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.787, allocations: 1.5 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.787, allocations: 0 / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005647/0.7876, allocations: 498 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.7877, allocations: 9.75 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.7877, allocations: 41.52 kB / 0.9526 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.7878, allocations: 21.92 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.7883, allocations: 252.3 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.7883, allocations: 16.36 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.7884, allocations: 16.66 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.7886, allocations: 136.7 kB / 0.953 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7886, allocations: 5.297 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.7886, allocations: 9.219 kB / 0.953 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.7886, allocations: 5.812 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.7887, allocations: 63.39 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.7893, allocations: 0.5086 MB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.7896, allocations: 162.8 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.7897, allocations: 70.5 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.7897, allocations: 1 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.79, allocations: 210 kB / 0.954 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.79, allocations: 0 / 0.954 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.000489/0.7905, allocations: 312.4 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.7905, allocations: 89.3 kB / 0.9544 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.7906, allocations: 132 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.7907, allocations: 45.39 kB / 0.9546 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.7907, allocations: 98.31 kB / 0.9547 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.7907, allocations: 51.06 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.7909, allocations: 71.66 kB / 0.9548 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.7909, allocations: 325.8 kB / 0.9551 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.7911, allocations: 86.05 kB / 0.9552 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.7913, allocations: 150.9 kB / 0.9553 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.7915, allocations: 244.9 kB / 0.9556 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7915, allocations: 1.469 kB / 0.9556 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004867/0.792, allocations: 364.2 kB / 0.9559 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.7921, allocations: 61.03 kB / 0.956 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7921, allocations: 5.453 kB / 0.956 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7921, allocations: 7.344 kB / 0.956 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.7922, allocations: 24.91 kB / 0.956 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.7922, allocations: 3.531 kB / 0.956 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.7925, allocations: 71.58 kB / 0.9561 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.7926, allocations: 14.09 kB / 0.9561 GB, free: 3.422 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.908e-05/0.7927, allocations: 146.6 kB / 0.9562 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.7927, allocations: 12 kB / 0.9562 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.7927, allocations: 18.05 kB / 0.9563 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7928, allocations: 14.88 kB / 0.9563 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7928, allocations: 1.562 kB / 0.9563 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7928, allocations: 0 / 0.9563 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.7933, allocations: 0.6261 MB / 0.9569 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7933, allocations: 0 / 0.9569 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.7933, allocations: 6 kB / 0.9569 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7933, allocations: 6.125 kB / 0.9569 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.7934, allocations: 11.3 kB / 0.9569 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7934, allocations: 0 / 0.9569 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7934, allocations: 1.344 kB / 0.9569 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.7937, allocations: 421.5 kB / 0.9573 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.7937, allocations: 85.14 kB / 0.9574 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.7938, allocations: 14.67 kB / 0.9574 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.7939, allocations: 13.39 kB / 0.9574 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.794, allocations: 27.2 kB / 0.9575 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.794, allocations: 12.64 kB / 0.9575 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.794, allocations: 96.92 kB / 0.9576 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7941, allocations: 0 / 0.9576 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003484/0.7944, allocations: 59.19 kB / 0.9576 GB, free: 2.176 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005647/0.795, allocations: 0.9605 MB / 0.9586 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.7954, allocations: 349.5 kB / 0.9589 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7954, allocations: 4.062 kB / 0.9589 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.7956, allocations: 116.5 kB / 0.959 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.796, allocations: 24.14 kB / 0.959 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.7982, allocations: 2.299 MB / 0.9613 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.7985, allocations: 0.7055 MB / 0.962 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.051e-05/0.7986, allocations: 19.33 kB / 0.962 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.7986, allocations: 36.33 kB / 0.962 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7986, allocations: 1.25 kB / 0.962 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.8114, allocations: 3.758 MB / 0.9657 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.8116, allocations: 206.8 kB / 0.9659 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.602, allocations: 0 / 0.9659 GB, free: 12.23 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches