Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009422, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.619/2.619, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 8 kB / 0.8378 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7724, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003612/0.776, allocations: 1.753 MB / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.7787, allocations: 1.085 MB / 0.984 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.7789, allocations: 4 kB / 0.984 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.7793, allocations: 79.66 kB / 0.9841 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.7796, allocations: 79.66 kB / 0.9841 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.7802, allocations: 138 kB / 0.9843 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.7806, allocations: 275.9 kB / 0.9845 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.7809, allocations: 97.86 kB / 0.9846 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.7811, allocations: 91.52 kB / 0.9847 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.7813, allocations: 103.5 kB / 0.9848 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.7813, allocations: 8 kB / 0.9848 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.7815, allocations: 47.95 kB / 0.9849 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.7816, allocations: 59.77 kB / 0.9849 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.7817, allocations: 65.52 kB / 0.985 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.7823, allocations: 365.3 kB / 0.9853 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7823, allocations: 0 / 0.9853 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7823, allocations: 4 kB / 0.9853 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.7823, allocations: 0 / 0.9853 GB, free: 1.984 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001209/0.7835, allocations: 0.5682 MB / 0.9859 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.7836, allocations: 12.03 kB / 0.9859 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.281e-05/0.7837, allocations: 54.55 kB / 0.986 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.935e-05/0.7838, allocations: 39.53 kB / 0.986 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.7844, allocations: 314.4 kB / 0.9863 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.7844, allocations: 20 kB / 0.9863 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.7845, allocations: 19.98 kB / 0.9863 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.785, allocations: 181.3 kB / 0.9865 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.785, allocations: 4 kB / 0.9865 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.785, allocations: 7.938 kB / 0.9865 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.785, allocations: 4 kB / 0.9865 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.7854, allocations: 127.9 kB / 0.9866 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.7868, allocations: 0.6754 MB / 0.9873 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.7874, allocations: 188.5 kB / 0.9875 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.7876, allocations: 80.83 kB / 0.9876 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.7877, allocations: 4 kB / 0.9876 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.788, allocations: 128.7 kB / 0.9877 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.788, allocations: 4 kB / 0.9877 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0007239/0.7888, allocations: 234.3 kB / 0.9879 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.7888, allocations: 55.41 kB / 0.988 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.7895, allocations: 358.9 kB / 0.9883 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.7896, allocations: 33.7 kB / 0.9883 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.7898, allocations: 168.3 kB / 0.9885 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.7898, allocations: 51.38 kB / 0.9885 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.7899, allocations: 4 kB / 0.9885 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7901, allocations: 342.8 kB / 0.9889 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.7903, allocations: 91.95 kB / 0.989 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.7906, allocations: 132.2 kB / 0.9891 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.7908, allocations: 87.88 kB / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7908, allocations: 0 / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006017/0.7915, allocations: 261.4 kB / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7915, allocations: 4 kB / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7915, allocations: 0 / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7915, allocations: 0 / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.7918, allocations: 43.91 kB / 0.9895 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.7918, allocations: 7.984 kB / 0.9895 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.792, allocations: 43.84 kB / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.7921, allocations: 8 kB / 0.9895 GB, free: 13.45 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0002313/0.7923, allocations: 171.5 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.7924, allocations: 31.66 kB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.7925, allocations: 34.25 kB / 0.9898 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7925, allocations: 0 / 0.9898 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7926, allocations: 0 / 0.9898 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7926, allocations: 8 kB / 0.9898 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.793, allocations: 325.4 kB / 0.9901 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.793, allocations: 3.953 kB / 0.9901 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.7931, allocations: 19.92 kB / 0.9901 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7931, allocations: 3.938 kB / 0.9901 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.7932, allocations: 8 kB / 0.9901 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7932, allocations: 0 / 0.9901 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7932, allocations: 3.938 kB / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.7936, allocations: 206 kB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.7938, allocations: 112.7 kB / 0.9904 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.7938, allocations: 8 kB / 0.9904 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.794, allocations: 23.98 kB / 0.9904 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.7941, allocations: 35.94 kB / 0.9905 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.7942, allocations: 7.984 kB / 0.9905 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003228/0.7945, allocations: 229.9 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7945, allocations: 4 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004721/0.795, allocations: 59.84 kB / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,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,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002049/0.797, allocations: 1.056 MB / 0.9918 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.7975, allocations: 200.8 kB / 0.992 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7976, allocations: 0 / 0.992 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.7978, allocations: 79.91 kB / 0.9921 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.7983, allocations: 50.31 kB / 0.9921 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.8014, allocations: 1.689 MB / 0.9938 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.8019, allocations: 0.7716 MB / 0.9945 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.8021, allocations: 42.27 kB / 0.9946 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.8022, allocations: 99.39 kB / 0.9946 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/0.8023, allocations: 0 / 0.9946 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.8216, allocations: 6.042 MB / 1.001 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.8219, allocations: 275.3 kB / 1.001 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.733, allocations: 4 kB / 1.001 GB, free: 2 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat does not exist to compare? outputFormat=mat