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.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: "" <> 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.009782/0.009782, allocations: 106.4 kB / 15.74 MB, free: 6.004 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.002188/0.002188, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.929/1.929, allocations: 222.9 MB / 240.4 MB, free: 15.09 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 3.532/3.532, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 63.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41/1.412, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003264/1.416, allocations: 0.7399 MB / 1.088 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002598/1.418, allocations: 1.267 MB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/1.418, allocations: 1.312 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/1.418, allocations: 5.062 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/1.419, allocations: 15.98 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/1.42, allocations: 254.1 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000513/1.42, allocations: 269.2 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/1.421, allocations: 13.91 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/1.421, allocations: 100.9 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/1.421, allocations: 97.66 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.52e-05/1.421, allocations: 22.81 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/1.421, allocations: 37.22 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/1.422, allocations: 34.62 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/1.422, allocations: 99.06 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004969/1.422, allocations: 224.1 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.422, allocations: 0.5938 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/1.422, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.422, allocations: 1.469 kB / 1.091 GB, free: 3.367 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001073/1.423, allocations: 0.4898 MB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/1.424, allocations: 9.531 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.081e-05/1.424, allocations: 41.88 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/1.424, allocations: 18.59 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009206/1.425, allocations: 250.4 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/1.425, allocations: 17.44 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/1.425, allocations: 27.2 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/1.425, allocations: 133.2 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.425, allocations: 4 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/1.425, allocations: 3.469 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/1.425, allocations: 1.531 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/1.426, allocations: 63.22 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/1.427, allocations: 0.5123 MB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/1.428, allocations: 162.5 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/1.428, allocations: 66.48 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/1.428, allocations: 1.156 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000678/1.429, allocations: 212.7 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 3.356e-06/1.429, allocations: 0 / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.001104/1.43, allocations: 305.5 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/1.43, allocations: 91.94 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.43, allocations: 131.3 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/1.43, allocations: 41.94 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/1.43, allocations: 96.02 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/1.43, allocations: 52.41 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/1.43, allocations: 77.95 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/1.431, allocations: 327.1 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/1.431, allocations: 85.72 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/1.431, allocations: 152.7 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/1.432, allocations: 249.1 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.432, allocations: 0.9062 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001116/1.433, allocations: 354.7 kB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/1.433, allocations: 63.95 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.433, allocations: 9.75 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/1.433, allocations: 8.031 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/1.433, allocations: 18.14 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/1.433, allocations: 12.27 kB / 1.094 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/1.434, allocations: 65.47 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/1.434, allocations: 21.28 kB / 1.095 GB, free: 412 kB / 0.8575 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 0.0002107/1.434, allocations: 145.3 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/1.435, allocations: 17.75 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/1.435, allocations: 14.86 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.435, allocations: 11.38 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.435, allocations: 0.8438 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.435, allocations: 2.047 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.436, allocations: 0.6149 MB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.436, allocations: 4.656 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/1.436, allocations: 11.69 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/1.436, allocations: 5.375 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/1.436, allocations: 10.88 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.436, allocations: 1.797 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.436, allocations: 0.5938 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008607/1.437, allocations: 421 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/1.437, allocations: 93.62 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/1.437, allocations: 14.53 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/1.438, allocations: 12.84 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.438, allocations: 23.34 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/1.438, allocations: 12.02 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001008/1.438, allocations: 96.75 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.91e-07/1.438, allocations: 0 / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007697/1.439, allocations: 53.47 kB / 1.096 GB, free: 15.28 MB / 0.8731 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.001356/1.44, allocations: 0.9615 MB / 1.097 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.441, allocations: 352 kB / 1.097 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.441, allocations: 448 / 1.097 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/1.441, allocations: 122.6 kB / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/1.442, allocations: 22.72 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/1.447, allocations: 2.287 MB / 1.1 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.448, allocations: 0.7046 MB / 1.1 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001543/1.448, allocations: 18.81 kB / 1.1 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.448, allocations: 38.41 kB / 1.1 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 1.072e-06/1.448, allocations: 3.938 kB / 1.1 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/1.708, allocations: 4.107 MB / 1.104 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14.13, allocations: 2.281 kB / 1.104 GB, free: 11.11 MB / 0.8731 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