Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 109.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 1.056 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.8308, allocations: 160.7 MB / 1.213 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00297/0.8338, allocations: 1.155 MB / 1.214 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.8363, allocations: 1.383 MB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.8365, allocations: 3.406 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.8366, allocations: 23.67 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.8369, allocations: 50.28 kB / 1.215 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.8379, allocations: 291.8 kB / 1.216 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006438/0.8385, allocations: 419.5 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.8387, allocations: 90.12 kB / 1.216 GB, free: 1.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.839, allocations: 157.6 kB / 1.216 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.8393, allocations: 154.3 kB / 1.217 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.233e-05/0.8394, allocations: 45.88 kB / 1.217 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.8395, allocations: 59.42 kB / 1.217 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.8397, allocations: 73.22 kB / 1.217 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.8399, allocations: 150 kB / 1.217 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.8405, allocations: 491.5 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8405, allocations: 1.062 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8405, allocations: 4 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.8405, allocations: 0 / 1.217 GB, free: 420 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001184/0.8417, allocations: 0.6217 MB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.8418, allocations: 9.531 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.9e-05/0.8418, allocations: 52.83 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.8419, allocations: 34.84 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.8426, allocations: 328.4 kB / 1.218 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.8427, allocations: 28.72 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.8428, allocations: 28.84 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.8431, allocations: 164.6 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8431, allocations: 0 / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.8431, allocations: 10.39 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.8431, allocations: 4.25 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.8434, allocations: 114.9 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.8446, allocations: 0.6811 MB / 1.219 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.845, allocations: 158.4 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.8451, allocations: 60.98 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.8452, allocations: 1.031 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.8455, allocations: 139.6 kB / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.8455, allocations: 0 / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004813/0.846, allocations: 213.5 kB / 1.22 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.846, allocations: 58.47 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.8463, allocations: 225.8 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.8463, allocations: 40.19 kB / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.8465, allocations: 155.8 kB / 1.22 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.8465, allocations: 38.95 kB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.8466, allocations: 78.17 kB / 1.22 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.8468, allocations: 331.2 kB / 1.221 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.847, allocations: 100.5 kB / 1.221 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.8473, allocations: 162.5 kB / 1.221 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.8476, allocations: 217.5 kB / 1.221 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.8476, allocations: 0 / 1.221 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006306/0.8482, allocations: 373.4 kB / 1.222 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.8483, allocations: 72.08 kB / 1.222 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.8483, allocations: 5.078 kB / 1.222 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.8483, allocations: 2.062 kB / 1.222 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.8484, allocations: 20.95 kB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.8484, allocations: 6.328 kB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.8488, allocations: 82.64 kB / 1.222 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.8488, allocations: 20.3 kB / 1.222 GB, free: 12.77 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001655/0.849, allocations: 147.5 kB / 1.222 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.849, allocations: 28.44 kB / 1.222 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/0.8491, allocations: 30.2 kB / 1.222 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8491, allocations: 2.25 kB / 1.222 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8491, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.8491, allocations: 1.062 kB / 1.222 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.8494, allocations: 296.6 kB / 1.222 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8494, allocations: 1.094 kB / 1.222 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.8495, allocations: 15.73 kB / 1.222 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.8495, allocations: 5.219 kB / 1.222 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.8495, allocations: 9.312 kB / 1.222 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.8495, allocations: 1.312 kB / 1.222 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8495, allocations: 0 / 1.222 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.8498, allocations: 203.4 kB / 1.222 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.8499, allocations: 93.3 kB / 1.223 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.8499, allocations: 7.469 kB / 1.223 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.85, allocations: 14.45 kB / 1.223 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.8501, allocations: 33.95 kB / 1.223 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.8501, allocations: 13.02 kB / 1.223 GB, free: 12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000129/0.8502, allocations: 147.5 kB / 1.223 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8502, allocations: 0 / 1.223 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002829/0.8505, allocations: 58.61 kB / 1.223 GB, free: 11.88 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008626/0.8514, allocations: 0.7595 MB / 1.224 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005579/0.8519, allocations: 306.5 kB / 1.224 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.852, allocations: 0 / 1.224 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.8521, allocations: 68.08 kB / 1.224 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.8524, allocations: 49.2 kB / 1.224 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.8559, allocations: 2.432 MB / 1.226 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.8563, allocations: 0.7404 MB / 1.227 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.296e-05/0.8564, allocations: 24.05 kB / 1.227 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.8565, allocations: 77.19 kB / 1.227 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8565, allocations: 1.281 kB / 1.227 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.8878, allocations: 5.47 MB / 1.233 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/9.318, allocations: 3.938 kB / 1.233 GB, free: 3.695 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.228633593767881]