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 [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003699/0.0003699, 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.0003726/0.0003726, 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.6476/0.6476, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 0.5852/0.5852, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 5.11e-07/5.11e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.673e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis): time 0.006043/0.006059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007978/0.01404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.01458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.01499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000785/0.01577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.01921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001832/0.02104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.004579/0.02562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.02698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.02752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.02777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.02799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.02823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.000411/0.02864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001274/0.02991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 7.624e-05/0.02999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.856e-06/0.02999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.394e-05/0.03001, 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.006458/0.03646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000106/0.03657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005713/0.03714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.03886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.03904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.03932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.04104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.04117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.04119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.04261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004831/0.04744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.04949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/0.05006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.05012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.0516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=51): time 9.277e-06/0.05161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=51): time 0.003364/0.05498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.05506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.0559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.05617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.05667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.05695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009251/0.05787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.01332/0.07119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.07234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.07368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.07523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.07525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=82) (initialization): time 0.004031/0.07928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.07939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.07941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/0.07945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.07985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.07987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.08065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.08087, 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.0009025/0.08177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.08209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.08227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.08227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.08229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.0823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004642/0.08694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.08695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.08716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.08717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.08729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.0873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.0873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.09005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.09031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.09062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.09108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008747/0.09195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.09209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003969/0.09249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 8.456e-06/0.0925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001715/0.09421, 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.0008673/0.09508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00249/0.09757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.09758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001482/0.09906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.1008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.1046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003611/0.1052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.1056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.433e-05/0.1056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0249/0.1305, 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: 3.1888668960891664]