Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 177.1 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.2 MB / 0.7948 GB, free: 18.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 96.03 kB / 0.9346 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 10.38 kB / 1.084 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.4897, allocations: 149.9 MB / 1.369 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.49, allocations: 71.95 kB / 1.369 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01195/0.502, allocations: 4.011 MB / 1.373 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.595e-06/0.502, allocations: 4 kB / 1.373 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.5021, allocations: 4 kB / 1.373 GB, free: 15.36 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001061/0.5031, allocations: 0.5471 MB / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5032, allocations: 12.03 kB / 1.374 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.5033, allocations: 58.47 kB / 1.374 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.5034, allocations: 35.75 kB / 1.374 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.5036, allocations: 170.9 kB / 1.374 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.5037, allocations: 24.2 kB / 1.374 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.5038, allocations: 43.98 kB / 1.374 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.5043, allocations: 258 kB / 1.374 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5043, allocations: 4 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.5044, allocations: 11.97 kB / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5044, allocations: 0 / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.5046, allocations: 132.6 kB / 1.375 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.5056, allocations: 0.5909 MB / 1.375 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.5061, allocations: 422.5 kB / 1.376 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.5062, allocations: 4 kB / 1.376 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005962/0.5068, allocations: 369.8 kB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 2.895e-06/0.5068, allocations: 0 / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.001065/0.5079, allocations: 0.6769 MB / 1.377 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.5079, allocations: 79.12 kB / 1.377 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.5081, allocations: 129.1 kB / 1.377 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.5082, allocations: 49.7 kB / 1.377 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.5082, allocations: 105 kB / 1.377 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.5084, allocations: 98.84 kB / 1.377 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.5084, allocations: 12 kB / 1.377 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5085, allocations: 342.8 kB / 1.377 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.5088, allocations: 145.1 kB / 1.377 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.5092, allocations: 291.3 kB / 1.378 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.5096, allocations: 217.9 kB / 1.378 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.5096, allocations: 4 kB / 1.378 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000922/0.5105, allocations: 0.5729 MB / 1.379 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.5106, allocations: 72.45 kB / 1.379 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.5106, allocations: 7.984 kB / 1.379 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.5106, allocations: 8 kB / 1.379 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.5108, allocations: 44.42 kB / 1.379 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.5108, allocations: 15.94 kB / 1.379 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.5113, allocations: 103.8 kB / 1.379 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.5114, allocations: 36.05 kB / 1.379 GB, free: 9.379 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.5116, allocations: 182.9 kB / 1.379 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.5116, allocations: 27.8 kB / 1.379 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.5117, allocations: 30.27 kB / 1.379 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5117, allocations: 8 kB / 1.379 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5117, allocations: 0 / 1.379 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.5117, allocations: 3.984 kB / 1.379 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.5133, allocations: 1.058 MB / 1.38 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5133, allocations: 0 / 1.38 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.5134, allocations: 23.98 kB / 1.38 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.5134, allocations: 0 / 1.38 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.009e-05/0.5135, allocations: 19.97 kB / 1.38 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5135, allocations: 0 / 1.38 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5135, allocations: 4 kB / 1.38 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.5143, allocations: 0.6691 MB / 1.381 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.5144, allocations: 96.92 kB / 1.381 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.5144, allocations: 19.98 kB / 1.381 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.5146, allocations: 43.83 kB / 1.381 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.5148, allocations: 47.88 kB / 1.381 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.5148, allocations: 35.97 kB / 1.381 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.229e-05/0.5149, allocations: 107.2 kB / 1.381 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5149, allocations: 0 / 1.381 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000451/0.5154, allocations: 111.9 kB / 1.381 GB, free: 6.781 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/0.5167, allocations: 1.403 MB / 1.383 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008147/0.5175, allocations: 0.5538 MB / 1.383 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5175, allocations: 4.125 kB / 1.383 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.5179, allocations: 308.1 kB / 1.383 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.5182, allocations: 29.66 kB / 1.383 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.5205, allocations: 3.718 MB / 1.387 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.5208, allocations: 0.7423 MB / 1.388 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.43e-05/0.5209, allocations: 30.97 kB / 1.388 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.5211, allocations: 55.42 kB / 1.388 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/0.5211, allocations: 0 / 1.388 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.5427, allocations: 5.555 MB / 1.393 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.543, allocations: 204.8 kB / 1.394 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.307, allocations: 5.781 kB / 1.394 GB, free: 10.12 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat does not exist to compare? outputFormat=mat