Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 108.8 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [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.001383/0.001383, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [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 1.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.258/3.258, allocations: 0.49 GB / 0.7916 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 62.12 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3696, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002768/0.3723, allocations: 1.163 MB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3745, allocations: 1.412 MB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.3746, allocations: 0 / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.244e-05/0.3747, allocations: 23.67 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.3748, allocations: 51.59 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008721/0.3757, allocations: 298.5 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.3762, allocations: 411.9 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.3764, allocations: 84.17 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.3766, allocations: 159.5 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.3769, allocations: 155.4 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.377, allocations: 44 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3771, allocations: 59.98 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.3771, allocations: 63.72 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3773, allocations: 159.3 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.3779, allocations: 494.5 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3779, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3779, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3779, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 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.001/0.3789, allocations: 0.6148 MB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.379, allocations: 19.92 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.379, allocations: 50.73 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.3791, allocations: 32.78 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007513/0.3799, allocations: 339.7 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.3799, allocations: 16.38 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.38, allocations: 28.38 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.3803, allocations: 173.7 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3803, allocations: 4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3803, allocations: 4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.3803, allocations: 4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.3806, allocations: 116 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3817, allocations: 0.6952 MB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.3821, allocations: 146.9 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3823, allocations: 72.7 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3823, allocations: 4 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.3825, allocations: 129 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.3825, allocations: 4 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004931/0.383, allocations: 219.2 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.3831, allocations: 59.34 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3833, allocations: 226.6 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.3834, allocations: 33.7 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3835, allocations: 144.8 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.3836, allocations: 51.62 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3838, allocations: 77.67 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3839, allocations: 338.8 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3841, allocations: 99.89 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.3844, allocations: 155.5 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.3847, allocations: 218.5 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3847, allocations: 3.938 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006499/0.3854, allocations: 356.7 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.3854, allocations: 71.33 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3855, allocations: 0 / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3855, allocations: 4 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.3856, allocations: 24.05 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3856, allocations: 4 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.386, allocations: 75.81 kB / 1.33 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.386, allocations: 15.98 kB / 1.33 GB, free: 9.91 MB / 1.029 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.0002031/0.3862, allocations: 161.2 kB / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3863, allocations: 23.8 kB / 1.33 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/0.3864, allocations: 25.86 kB / 1.33 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3864, allocations: 4 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3864, allocations: 0 / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3864, allocations: 0 / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.3867, allocations: 297.5 kB / 1.33 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3867, allocations: 0 / 1.33 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.3868, allocations: 12 kB / 1.33 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3868, allocations: 7.938 kB / 1.33 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3868, allocations: 11.98 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3868, allocations: 0 / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3868, allocations: 0 / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.3872, allocations: 192.9 kB / 1.33 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.3872, allocations: 104.8 kB / 1.33 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.3873, allocations: 8.047 kB / 1.33 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.3874, allocations: 23.97 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3875, allocations: 31.95 kB / 1.331 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3875, allocations: 11.94 kB / 1.331 GB, free: 8.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001504/0.3877, allocations: 140.6 kB / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3877, allocations: 0 / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003118/0.388, allocations: 59.89 kB / 1.331 GB, free: 8.715 MB / 1.029 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.0008059/0.3888, allocations: 0.7587 MB / 1.331 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000564/0.3893, allocations: 298.7 kB / 1.332 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3893, allocations: 0 / 1.332 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3895, allocations: 73.8 kB / 1.332 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.3898, allocations: 40.17 kB / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.3935, allocations: 2.453 MB / 1.334 GB, free: 4.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.3939, allocations: 0.7363 MB / 1.335 GB, free: 4.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.394, allocations: 29.94 kB / 1.335 GB, free: 4.137 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3941, allocations: 75.41 kB / 1.335 GB, free: 4.066 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3941, allocations: 0 / 1.335 GB, free: 4.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.4261, allocations: 5.463 MB / 1.34 GB, free: 14.78 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.794, allocations: 16.86 kB / 1.34 GB, free: 14.76 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.437759388005361]