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.001521/0.001521, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001471/0.001471, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.606/1.606, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.483/2.483, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.91 kB / 0.8774 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 153 MB / 1.027 GB, free: 1.984 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003761/0.3234, allocations: 2.125 MB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3254, allocations: 1.162 MB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.3255, allocations: 4 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.3259, allocations: 95.39 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.3262, allocations: 103.5 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.3266, allocations: 193.7 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.327, allocations: 315.9 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.3272, allocations: 115.6 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.3274, allocations: 135.4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3276, allocations: 139.4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.3276, allocations: 28 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3278, allocations: 71.92 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.3279, allocations: 83.73 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.328, allocations: 139.2 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.3285, allocations: 474.3 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3285, allocations: 0 / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3285, allocations: 0 / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3285, allocations: 0 / 1.032 GB, free: 12.81 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.0009246/0.3294, allocations: 0.6073 MB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3295, allocations: 12.03 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.3296, allocations: 36.55 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.33, allocations: 339.5 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.3301, allocations: 12.38 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.3301, allocations: 31.88 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.3304, allocations: 177.4 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3305, allocations: 0 / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3305, allocations: 8 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3305, allocations: 11.94 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.3307, allocations: 119.9 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009781/0.3317, allocations: 0.6522 MB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.3322, allocations: 198.8 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3323, allocations: 80.83 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.3324, allocations: 4 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.3326, allocations: 125.7 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.592e-06/0.3326, allocations: 4 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0004813/0.3331, allocations: 233.2 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3331, allocations: 51.41 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.3335, allocations: 370.7 kB / 1.035 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3336, allocations: 33.7 kB / 1.035 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3337, allocations: 168.4 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.3337, allocations: 47.44 kB / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3338, allocations: 65.59 kB / 1.035 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.334, allocations: 342.8 kB / 1.035 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3341, allocations: 91.91 kB / 1.035 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.3344, allocations: 141 kB / 1.036 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3346, allocations: 150.6 kB / 1.036 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3346, allocations: 4 kB / 1.036 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000431/0.3351, allocations: 257.4 kB / 1.036 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3351, allocations: 6.344 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3351, allocations: 3.938 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3351, allocations: 4 kB / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.3353, allocations: 39.92 kB / 1.036 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3353, allocations: 3.938 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.3355, allocations: 35.81 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.3355, allocations: 12.03 kB / 1.036 GB, free: 8.16 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.0001831/0.3357, allocations: 180 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.3357, allocations: 27.62 kB / 1.036 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.295e-05/0.3358, allocations: 30.25 kB / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.3358, allocations: 4 kB / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3358, allocations: 3.938 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3359, allocations: 0 / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.3362, allocations: 325.4 kB / 1.037 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3362, allocations: 4 kB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.3362, allocations: 19.94 kB / 1.037 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3363, allocations: 0 / 1.037 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.3363, allocations: 7.984 kB / 1.037 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3363, allocations: 4 kB / 1.037 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.3363, allocations: 3.938 kB / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.3366, allocations: 208.6 kB / 1.037 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.3367, allocations: 100.8 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.3368, allocations: 15.98 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.3369, allocations: 15.98 kB / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.337, allocations: 35.89 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.337, allocations: 12 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002196/0.3372, allocations: 221.9 kB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3372, allocations: 3.938 kB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002815/0.3375, allocations: 59.89 kB / 1.037 GB, free: 6.809 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.0009675/0.3385, allocations: 435.4 kB / 1.038 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.3389, allocations: 199.8 kB / 1.038 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3389, allocations: 0 / 1.038 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3391, allocations: 85.78 kB / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3394, allocations: 44.84 kB / 1.038 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007954/0.3402, allocations: 480.5 kB / 1.039 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3406, allocations: 0.7675 MB / 1.039 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000107/0.3407, allocations: 46.25 kB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.3408, allocations: 31.42 kB / 1.039 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of SimCode: time 1.983e-06/0.3408, allocations: 0 / 1.039 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of Templates: time 0.007373/0.3481, allocations: 3.616 MB / 1.043 GB, free: 1.301 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 cvode -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