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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.00119/0.001191, allocations: 193.3 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.443/2.443, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 68.17 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3119, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003943/0.3159, allocations: 2.12 MB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.3179, allocations: 1.174 MB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.3182, allocations: 4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.3186, allocations: 95.44 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.319, allocations: 95.53 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.3195, allocations: 187.5 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.3199, allocations: 319.9 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.3202, allocations: 119.6 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3204, allocations: 131.4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.3206, allocations: 139.4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.3207, allocations: 28 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3208, allocations: 71.91 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3209, allocations: 83.75 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3211, allocations: 143.2 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.3216, allocations: 474.3 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3216, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3216, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.3217, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 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.0009612/0.3226, allocations: 0.6073 MB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3227, allocations: 12.03 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.3228, allocations: 32.56 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.3232, allocations: 347.4 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.3232, allocations: 20.36 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.3233, allocations: 23.94 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.3236, allocations: 181.4 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.3236, allocations: 0 / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.3237, allocations: 4 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3237, allocations: 4 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.324, allocations: 131.9 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.325, allocations: 0.6483 MB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.3254, allocations: 194.8 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3256, allocations: 76.83 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.3256, allocations: 4 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.3258, allocations: 127.3 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3258, allocations: 0 / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0004901/0.3263, allocations: 237.2 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3264, allocations: 55.41 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.3268, allocations: 362.7 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.3269, allocations: 41.69 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.327, allocations: 160.4 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.327, allocations: 47.44 kB / 1.035 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3272, allocations: 69.59 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3273, allocations: 338.8 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.3275, allocations: 87.95 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.3277, allocations: 141 kB / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.328, allocations: 150.6 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.328, allocations: 0 / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004264/0.3284, allocations: 269.3 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3285, allocations: 6.5 kB / 1.036 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3285, allocations: 4.031 kB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3285, allocations: 4 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3286, allocations: 35.92 kB / 1.036 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3287, allocations: 7.922 kB / 1.036 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3288, allocations: 35.81 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3289, allocations: 12 kB / 1.036 GB, free: 8.176 MB / 0.8106 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 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001594/0.329, allocations: 176 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.3291, allocations: 27.62 kB / 1.036 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.3292, allocations: 38.25 kB / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3292, allocations: 4 kB / 1.036 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3292, allocations: 7.875 kB / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3292, allocations: 3.984 kB / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.3295, allocations: 317.4 kB / 1.037 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3295, allocations: 3.984 kB / 1.037 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.3296, allocations: 19.94 kB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3296, allocations: 0 / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.3296, allocations: 11.98 kB / 1.037 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3297, allocations: 4 kB / 1.037 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3297, allocations: 3.938 kB / 1.037 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.33, allocations: 208.6 kB / 1.037 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.3301, allocations: 100.8 kB / 1.037 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.3301, allocations: 8 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.3302, allocations: 15.98 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.3303, allocations: 43.89 kB / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3304, allocations: 7.984 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002598/0.3306, allocations: 225.9 kB / 1.037 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.563e-06/0.3306, allocations: 0 / 1.037 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002752/0.3309, allocations: 59.84 kB / 1.037 GB, free: 6.82 MB / 0.8106 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 (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.0009459/0.3319, allocations: 436.8 kB / 1.038 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.3323, allocations: 195.8 kB / 1.038 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3323, allocations: 0 / 1.038 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3324, allocations: 83.91 kB / 1.038 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3328, allocations: 50.92 kB / 1.038 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008028/0.3336, allocations: 474 kB / 1.039 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.3339, allocations: 0.7753 MB / 1.039 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.3341, allocations: 42.25 kB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.3342, allocations: 27.44 kB / 1.039 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3342, allocations: 0 / 1.039 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of Templates: time 0.007529/0.3417, allocations: 3.623 MB / 1.043 GB, free: 1.312 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (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 & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches