Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.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_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.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_9_Buildings.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.001507/0.001506, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 196 kB / 16.79 MB, free: 6.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.89 kB / 0.8126 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7231/0.7245, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002914/0.7275, allocations: 2.122 MB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.729, allocations: 1.154 MB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.7292, allocations: 2.562 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.7295, allocations: 89.59 kB / 0.9529 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.7297, allocations: 72.52 kB / 0.953 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.7301, allocations: 172 kB / 0.9532 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.7304, allocations: 295.5 kB / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.7306, allocations: 117 kB / 0.9536 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.7307, allocations: 111.6 kB / 0.9537 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.7308, allocations: 132.2 kB / 0.9538 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.7309, allocations: 12.12 kB / 0.9538 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.731, allocations: 62.17 kB / 0.9539 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.7311, allocations: 71.38 kB / 0.9539 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.7312, allocations: 124.9 kB / 0.954 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.7315, allocations: 353.2 kB / 0.9544 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7315, allocations: 4 kB / 0.9544 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7315, allocations: 1.125 kB / 0.9544 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7315, allocations: 0 / 0.9544 GB, free: 5.508 MB / 0.7169 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.0008208/0.7323, allocations: 0.6186 MB / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7324, allocations: 9.344 kB / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.7325, allocations: 36.31 kB / 0.955 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.7329, allocations: 340.5 kB / 0.9554 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.7329, allocations: 18.03 kB / 0.9554 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.7329, allocations: 24.88 kB / 0.9554 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.7333, allocations: 172.9 kB / 0.9556 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.7333, allocations: 3.984 kB / 0.9556 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.7333, allocations: 9.438 kB / 0.9556 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.7333, allocations: 4.469 kB / 0.9556 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.7336, allocations: 129.1 kB / 0.9557 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.7345, allocations: 0.6643 MB / 0.9564 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.7349, allocations: 191.5 kB / 0.9565 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.7351, allocations: 79.89 kB / 0.9566 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.7351, allocations: 7.344 kB / 0.9566 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.7353, allocations: 129.9 kB / 0.9567 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.435e-06/0.7353, allocations: 1.781 kB / 0.9567 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0004784/0.7358, allocations: 237.3 kB / 0.957 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.7358, allocations: 52.72 kB / 0.957 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.7362, allocations: 362.3 kB / 0.9574 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.7362, allocations: 32.73 kB / 0.9574 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.7363, allocations: 177.3 kB / 0.9576 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.7364, allocations: 46.22 kB / 0.9576 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.7365, allocations: 68.81 kB / 0.9577 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.7365, allocations: 339.2 kB / 0.958 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.7367, allocations: 90.2 kB / 0.9581 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.7369, allocations: 134.9 kB / 0.9582 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.7371, allocations: 149.4 kB / 0.9584 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7371, allocations: 0.7812 kB / 0.9584 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004062/0.7375, allocations: 270.9 kB / 0.9586 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7376, allocations: 5.5 kB / 0.9586 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7376, allocations: 1.375 kB / 0.9586 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7376, allocations: 9.297 kB / 0.9586 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.7378, allocations: 39.42 kB / 0.9587 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7378, allocations: 6.781 kB / 0.9587 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.7379, allocations: 33.56 kB / 0.9587 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.738, allocations: 6.875 kB / 0.9587 GB, free: 2.152 MB / 0.7169 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.0001392/0.7381, allocations: 168.9 kB / 0.9589 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.7381, allocations: 24.22 kB / 0.9589 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.7382, allocations: 31.47 kB / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.7382, allocations: 13.62 kB / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7382, allocations: 1.312 kB / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7383, allocations: 0 / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.7385, allocations: 329.6 kB / 0.9593 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7385, allocations: 0 / 0.9593 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.7386, allocations: 17.86 kB / 0.9593 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7386, allocations: 1.062 kB / 0.9593 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.7386, allocations: 9.125 kB / 0.9593 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.7386, allocations: 5.031 kB / 0.9593 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7386, allocations: 1.219 kB / 0.9593 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.7389, allocations: 214.2 kB / 0.9595 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.739, allocations: 106.9 kB / 0.9596 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.739, allocations: 7.25 kB / 0.9596 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.7391, allocations: 23.55 kB / 0.9596 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.7392, allocations: 29.86 kB / 0.9597 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.7393, allocations: 9.516 kB / 0.9597 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002017/0.7395, allocations: 229.4 kB / 0.9599 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7395, allocations: 1.188 kB / 0.9599 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000292/0.7398, allocations: 59 kB / 0.9599 GB, free: 1.184 MB / 0.7169 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.000956/0.7407, allocations: 430.3 kB / 0.9604 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.7411, allocations: 196.2 kB / 0.9605 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7411, allocations: 4.062 kB / 0.9605 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.7413, allocations: 77.78 kB / 0.9606 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.7416, allocations: 46.95 kB / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007221/0.7423, allocations: 0.5994 MB / 0.9612 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.7426, allocations: 0.7769 MB / 0.962 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.7427, allocations: 28.05 kB / 0.962 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.7427, allocations: 0 / 0.962 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of Templates: time 0.006658/0.7494, allocations: 3.997 MB / 0.9659 GB, free: 13.56 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches