Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002675/0.0002675, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002449/0.0002449, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.09334/0.09334, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 0.2165/0.2165, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis,startTime=0,stopTime=21600,tolerance=1e-06,numberOfIntervals=2639,outputFormat="mat",variableFilter="time|sysHys.u|sysHys.y|sysHys.yPum|sysHys1.yPum|sysHys.sysOn",fileNamePrefix="Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis,startTime=0,stopTime=21600,tolerance=1e-06,numberOfIntervals=2639,outputFormat="mat",variableFilter="time|sysHys.u|sysHys.y|sysHys.yPum|sysHys1.yPum|sysHys.sysOn",fileNamePrefix="Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.81e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis): time 0.001919/0.001937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002987/0.004924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.005046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.00516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000194/0.005354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.006064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0005302/0.006595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.006837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005145/0.007351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.00761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.007691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.007786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.00789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.008082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.008574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.545e-05/0.008639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.834e-06/0.008641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.832e-06/0.008648, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009794/0.009627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.675e-05/0.009694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.009818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.01023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/0.01031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.01042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.01085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.01087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.0109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.01091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.01114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.01262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.01271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.01273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.01306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=51): time 5.05e-06/0.01307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=51): time 0.0004919/0.01356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.01359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000107/0.01383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 9.047e-05/0.01403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.01422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.641e-05/0.01426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.01443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.01463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.01492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.01493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005555/0.01549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.01553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.01555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.01557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.01573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.01575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.01607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.01614, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.sysHys.truDel.u,$PRE.sysHys1.truDel.u,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$PRE.sysHys1.truDel.t_next,$whenCondition10,$PRE.sysHys.truDel.t_next,$whenCondition4,sysHys1.truDel.t_next,sysHys.truDel.t_next,booPul.y,$PRE.booPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,sysHys1.truDel.y,sysHys1.truDel.u,sysHys1.truFalHol1.entryTimeFalse,$PRE.sysHys1.truFalHol1.entryTimeFalse,sysHys1.truFalHol1.entryTimeTrue,$PRE.sysHys1.truFalHol1.entryTimeTrue,sysHys1.truFalHol1.not_y,$PRE.sysHys1.truFalHol1.not_y,sysHys1.truFalHol1.not_u,$PRE.sysHys1.truFalHol1.not_u,sysHys1.truFalHol1.y,$PRE.sysHys1.truFalHol1.y,sysHys1.truFalHol1.u,$PRE.sysHys1.truFalHol1.u,sysHys1.greThr.greHys.y,$PRE.sysHys1.greThr.greHys.y,sysHys.truDel.y,sysHys.truDel.u,sysHys.truFalHol1.entryTimeFalse,$PRE.sysHys.truFalHol1.entryTimeFalse,sysHys.truFalHol1.entryTimeTrue,$PRE.sysHys.truFalHol1.entryTimeTrue,sysHys.truFalHol1.not_y,$PRE.sysHys.truFalHol1.not_y,sysHys.truFalHol1.not_u,$PRE.sysHys.truFalHol1.not_u,sysHys.truFalHol1.y,$PRE.sysHys.truFalHol1.y,sysHys.truFalHol1.u,$PRE.sysHys.truFalHol1.u,sysHys.greThr.greHys.y,$PRE.sysHys.greThr.greHys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition12,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * 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.000207/0.01634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.01641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.01648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.01648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.01649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.0165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.01728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.01728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.01737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.01738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.01742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.01742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.01781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.01786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.01799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.01815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.01826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.01831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.337e-05/0.01837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.362e-06/0.01838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005764/0.01896, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 (sysHys.truDel.u,sysHys1.truDel.u,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,sysHys.greThr.greHys.y,sysHys.truFalHol1.u,sysHys.truFalHol1.y,sysHys.truFalHol1.not_u,sysHys.truFalHol1.not_y,sysHys.truFalHol1.entryTimeTrue,sysHys.truFalHol1.entryTimeFalse,sysHys.truDel.y,sysHys.truDel.t_next,sysHys1.greThr.greHys.y,sysHys1.truFalHol1.u,sysHys1.truFalHol1.y,sysHys1.truFalHol1.not_u,sysHys1.truFalHol1.not_y,sysHys1.truFalHol1.entryTimeTrue,sysHys1.truFalHol1.entryTimeFalse,sysHys1.truDel.y,sysHys1.truDel.t_next,pul.booPul.y,pul1.booPul.y,booPul.y) * Number of discrete states: 16 (sysHys1.truDel.t_next,sysHys1.truFalHol1.entryTimeFalse,sysHys1.truFalHol1.entryTimeTrue,sysHys.truDel.t_next,sysHys.truFalHol1.entryTimeFalse,sysHys.truFalHol1.entryTimeTrue,sysHys1.greThr.greHys.y,sysHys.greThr.greHys.y,sysHys1.truFalHol1.not_u,sysHys1.truFalHol1.u,sysHys1.truFalHol1.y,sysHys1.truFalHol1.not_y,sysHys.truFalHol1.not_u,sysHys.truFalHol1.u,sysHys.truFalHol1.y,sysHys.truFalHol1.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002424/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0005015/0.0197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.01971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.01987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.02035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/0.02117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 7.74e-05/0.02125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001089/0.02136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.02164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.916e-05/0.02167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001625/0.02329, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SystemHysteresis.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.0330937928520143]