Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer",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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001192, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.162/1.162, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.029/2.029, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4602, allocations: 140.4 MB / 0.949 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002191/0.4624, allocations: 1.53 MB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005228/0.4629, allocations: 437.6 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.463, allocations: 1.25 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.463, allocations: 3.938 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.4631, allocations: 1.219 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.4632, allocations: 31.81 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.4633, allocations: 48.16 kB / 0.951 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.4634, allocations: 8.719 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.4634, allocations: 20.08 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.4635, allocations: 20.89 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.4635, allocations: 2.688 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.4635, allocations: 3.969 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.4636, allocations: 17.16 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.4636, allocations: 23.39 kB / 0.9511 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.892e-05/0.4637, allocations: 40.02 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4637, allocations: 0 / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.32e-07/0.4637, allocations: 0 / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.4637, allocations: 1.562 kB / 0.9512 GB, free: 7.422 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003682/0.4641, allocations: 368.5 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4641, allocations: 9.125 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.4641, allocations: 36.8 kB / 0.9516 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.4642, allocations: 3.188 kB / 0.9516 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.331e-05/0.4642, allocations: 167.4 kB / 0.9517 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.4643, allocations: 7.188 kB / 0.9517 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.4643, allocations: 8.891 kB / 0.9517 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.858e-05/0.4644, allocations: 62.33 kB / 0.9518 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.4644, allocations: 0 / 0.9518 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4644, allocations: 1.906 kB / 0.9518 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4644, allocations: 0 / 0.9518 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.4645, allocations: 26.36 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.4648, allocations: 317.1 kB / 0.9521 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.4649, allocations: 58.38 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.465, allocations: 23.95 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.465, allocations: 1.344 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.4651, allocations: 79.81 kB / 0.9523 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4651, allocations: 0 / 0.9523 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002044/0.4653, allocations: 97.62 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.4654, allocations: 58.48 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.4654, allocations: 103 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.4654, allocations: 32.19 kB / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.4655, allocations: 89.27 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.4655, allocations: 15.59 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.4655, allocations: 30.95 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.4656, allocations: 320 kB / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.4656, allocations: 20.83 kB / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.4657, allocations: 48.42 kB / 0.9531 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.4657, allocations: 63 kB / 0.9531 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4657, allocations: 5.562 kB / 0.9531 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001162/0.4659, allocations: 97.17 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4659, allocations: 7.531 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4659, allocations: 1.156 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4659, allocations: 1.281 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.466, allocations: 16.83 kB / 0.9532 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.466, allocations: 1.281 kB / 0.9532 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.466, allocations: 7.875 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.466, allocations: 11.39 kB / 0.9533 GB, free: 5.34 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.099e-05/0.4661, allocations: 131 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.4661, allocations: 6.719 kB / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.4661, allocations: 9.469 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4662, allocations: 1.031 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4662, allocations: 0 / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4662, allocations: 1.219 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.4665, allocations: 363.3 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4665, allocations: 4 kB / 0.9537 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.4665, allocations: 4.25 kB / 0.9538 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4665, allocations: 3.984 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4665, allocations: 1.25 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4665, allocations: 8 kB / 0.9538 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4665, allocations: 1.094 kB / 0.9538 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.4666, allocations: 180 kB / 0.9539 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.4667, allocations: 82.19 kB / 0.954 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.4667, allocations: 5.094 kB / 0.954 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.4668, allocations: 7.094 kB / 0.954 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.4668, allocations: 12.2 kB / 0.954 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4668, allocations: 3.062 kB / 0.954 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.4668, allocations: 90.33 kB / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4669, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002212/0.4671, allocations: 19.47 kB / 0.9541 GB, free: 4.453 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002443/0.4673, allocations: 0.7089 MB / 0.9548 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.4674, allocations: 54.05 kB / 0.9549 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4675, allocations: 3.938 kB / 0.9549 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.4675, allocations: 28.52 kB / 0.9549 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.4678, allocations: 16.98 kB / 0.9549 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.4686, allocations: 1.381 MB / 0.9563 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.384e-05/0.4687, allocations: 0.6978 MB / 0.957 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.4688, allocations: 3.781 kB / 0.957 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.4688, allocations: 22.95 kB / 0.957 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.4688, allocations: 0 / 0.957 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/0.7782, allocations: 1.516 MB / 0.9585 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/0.7784, allocations: 199.4 kB / 0.9587 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.285, allocations: 3.938 kB / 0.9587 GB, free: 0.6211 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches