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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00172/0.00172, allocations: 105.4 kB / 15.98 MB, free: 6.352 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.002048/0.002048, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 64.17 kB / 0.8127 GB, free: 33.4 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.375, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.005124/0.3802, allocations: 2.129 MB / 0.9519 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.3831, allocations: 1.15 MB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.3834, allocations: 7.938 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.3839, allocations: 75.7 kB / 0.9531 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.3843, allocations: 79.73 kB / 0.9532 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.385, allocations: 167.5 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.3855, allocations: 327.8 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.3859, allocations: 119.6 kB / 0.9538 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.3861, allocations: 135.5 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.3864, allocations: 139.4 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.3865, allocations: 31.98 kB / 0.9541 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.3867, allocations: 75.91 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3868, allocations: 83.75 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.387, allocations: 139.2 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.3876, allocations: 363.4 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3876, allocations: 0 / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3876, allocations: 4 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.3876, allocations: 0 / 0.9547 GB, free: 4.176 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.001327/0.389, allocations: 0.6148 MB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.389, allocations: 8.031 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.3891, allocations: 40.55 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.3897, allocations: 339.3 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.3898, allocations: 16 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.3898, allocations: 20 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.3904, allocations: 181.4 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3904, allocations: 0 / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.3904, allocations: 11.94 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3905, allocations: 4 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.3908, allocations: 131.7 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.3923, allocations: 0.6522 MB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.3929, allocations: 194.9 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.3932, allocations: 84.83 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.3932, allocations: 11.89 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003331/0.3936, allocations: 123.3 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 3.827e-06/0.3936, allocations: 0 / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0007531/0.3943, allocations: 243.3 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.3944, allocations: 55.41 kB / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.395, allocations: 362.8 kB / 0.9577 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.395, allocations: 33.7 kB / 0.9577 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.3952, allocations: 168.3 kB / 0.9579 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.3953, allocations: 47.45 kB / 0.9579 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3954, allocations: 69.69 kB / 0.958 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3956, allocations: 342.8 kB / 0.9583 GB, free: 256 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.3959, allocations: 87.97 kB / 0.9584 GB, free: 168 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.3962, allocations: 132.2 kB / 0.9585 GB, free: 20 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.3966, allocations: 153.5 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3966, allocations: 0 / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006613/0.3973, allocations: 269.3 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3973, allocations: 4 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3973, allocations: 0 / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3974, allocations: 3.938 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.3976, allocations: 35.92 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3977, allocations: 4 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.3979, allocations: 39.84 kB / 0.959 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.398, allocations: 8 kB / 0.959 GB, free: 15.5 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 ($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.0002386/0.3982, allocations: 176 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.3983, allocations: 27.62 kB / 0.9592 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.75e-05/0.3984, allocations: 30.25 kB / 0.9592 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3984, allocations: 7.938 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3985, allocations: 0 / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3985, allocations: 4 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.3989, allocations: 321.4 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3989, allocations: 0 / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.3991, allocations: 19.94 kB / 0.9596 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3991, allocations: 3.938 kB / 0.9596 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.3991, allocations: 7.984 kB / 0.9596 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3991, allocations: 7.875 kB / 0.9596 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3991, allocations: 0 / 0.9596 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.3997, allocations: 212.7 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.3998, allocations: 104.7 kB / 0.9599 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.3998, allocations: 15.98 kB / 0.9599 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4, allocations: 15.92 kB / 0.9599 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.4001, allocations: 31.95 kB / 0.96 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4002, allocations: 8 kB / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000349/0.4005, allocations: 225.9 kB / 0.9602 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.577e-06/0.4005, allocations: 4 kB / 0.9602 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000478/0.401, allocations: 63.83 kB / 0.9603 GB, free: 14.14 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 (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.001506/0.4026, allocations: 427.3 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006416/0.4032, allocations: 216 kB / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4032, allocations: 0 / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.4035, allocations: 82.09 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.404, allocations: 54.66 kB / 0.961 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4053, allocations: 0.5919 MB / 0.9616 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4058, allocations: 0.7789 MB / 0.9623 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.4059, allocations: 31.42 kB / 0.9624 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of SimCode: time 4.2e-07/0.4059, allocations: 4 kB / 0.9624 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of Templates: time 0.009388/0.4153, allocations: 4.005 MB / 0.9663 GB, free: 8.082 MB / 0.7481 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