Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001736, allocations: 103.7 kB / 16.35 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.001887/0.001887, allocations: 190.5 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.457/1.457, 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 9.1.2-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.03 kB / 0.8141 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3154, allocations: 140.4 MB / 0.9512 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002604/0.318, allocations: 1.11 MB / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3193, allocations: 1.014 MB / 0.9532 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.3194, allocations: 4 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.45e-05/0.3195, allocations: 23.67 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.3196, allocations: 19.69 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.3199, allocations: 79.91 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.3201, allocations: 220.2 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.3204, allocations: 116.2 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3205, allocations: 91.64 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3207, allocations: 95.55 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.3207, allocations: 31.94 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.043e-05/0.3207, allocations: 20 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.3208, allocations: 55.77 kB / 0.954 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.792e-05/0.3209, allocations: 99.47 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.3212, allocations: 282.9 kB / 0.9543 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3212, allocations: 0 / 0.9543 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.357e-06/0.3212, allocations: 3.984 kB / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3212, allocations: 0 / 0.9543 GB, free: 4.715 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007333/0.322, allocations: 491.1 kB / 0.9548 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.322, allocations: 16.03 kB / 0.9548 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.3221, allocations: 20.66 kB / 0.9548 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.3225, allocations: 272.9 kB / 0.9551 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.3226, allocations: 12.81 kB / 0.9551 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.3226, allocations: 24.36 kB / 0.9551 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.323, allocations: 191.2 kB / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.323, allocations: 4 kB / 0.9553 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.323, allocations: 8 kB / 0.9553 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.323, allocations: 4 kB / 0.9553 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.3234, allocations: 149.6 kB / 0.9555 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007858/0.3242, allocations: 0.5686 MB / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.3245, allocations: 126.6 kB / 0.9562 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3247, allocations: 60.81 kB / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3247, allocations: 4 kB / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3247, allocations: 34.56 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.3248, allocations: 4 kB / 0.9563 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0005861/0.3253, allocations: 204 kB / 0.9564 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3254, allocations: 63.28 kB / 0.9565 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3256, allocations: 171.8 kB / 0.9567 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3256, allocations: 29.7 kB / 0.9567 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.3257, allocations: 144.1 kB / 0.9568 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3257, allocations: 43.52 kB / 0.9569 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.3258, allocations: 49.7 kB / 0.9569 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3259, allocations: 326.8 kB / 0.9572 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3261, allocations: 47.95 kB / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.3263, allocations: 107 kB / 0.9574 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.3266, allocations: 141 kB / 0.9575 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3266, allocations: 0 / 0.9575 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003828/0.327, allocations: 180.3 kB / 0.9577 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.327, allocations: 8 kB / 0.9577 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.327, allocations: 3.938 kB / 0.9577 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.327, allocations: 8.141 kB / 0.9577 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.3272, allocations: 31.92 kB / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3272, allocations: 4 kB / 0.9577 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3274, allocations: 23.83 kB / 0.9578 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3274, allocations: 4 kB / 0.9578 GB, free: 0.9375 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001116/0.3275, allocations: 138.2 kB / 0.9579 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.3275, allocations: 19.8 kB / 0.9579 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.3276, allocations: 29.47 kB / 0.958 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3276, allocations: 0 / 0.958 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3276, allocations: 0 / 0.958 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3276, allocations: 0 / 0.958 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.3279, allocations: 265.5 kB / 0.9582 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3279, allocations: 4 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.328, allocations: 15.98 kB / 0.9582 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.328, allocations: 7.938 kB / 0.9582 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3281, allocations: 7.922 kB / 0.9582 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3281, allocations: 0 / 0.9582 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3281, allocations: 4 kB / 0.9582 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3285, allocations: 251.2 kB / 0.9585 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.3285, allocations: 92.92 kB / 0.9586 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3286, allocations: 7.922 kB / 0.9586 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3287, allocations: 7.984 kB / 0.9586 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/0.3288, allocations: 31.97 kB / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3288, allocations: 0 / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.3289, allocations: 124.2 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3289, allocations: 0 / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000283/0.3292, allocations: 35.84 kB / 0.9588 GB, free: 15.82 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: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001422/0.3293, allocations: 115.2 kB / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.3297, allocations: 147.7 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3298, allocations: 0 / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.3299, allocations: 78.84 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3303, allocations: 21.91 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.331, allocations: 332.8 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3313, allocations: 0.728 MB / 0.9601 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.974e-05/0.3314, allocations: 17.55 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.3314, allocations: 23.42 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3314, allocations: 7.938 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of Templates: time 0.004499/0.336, allocations: 1.418 MB / 0.9616 GB, free: 12.95 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches