Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.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.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001115/0.001115, allocations: 188.2 kB / 16.25 MB, free: 6.621 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.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.51/2.51, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.8121 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.831, allocations: 140.3 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003059/0.8341, allocations: 1.158 MB / 0.9503 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.8354, allocations: 1.007 MB / 0.9513 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.8355, allocations: 3.25 kB / 0.9513 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.223e-05/0.8356, allocations: 11.86 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.8358, allocations: 17.69 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.836, allocations: 71.19 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.8362, allocations: 218 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.8365, allocations: 125.8 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.8367, allocations: 85.78 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.8368, allocations: 98.77 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.8369, allocations: 23.06 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.92e-05/0.8369, allocations: 22.81 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.837, allocations: 49.62 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.8371, allocations: 98.41 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.8373, allocations: 280.8 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8373, allocations: 0 / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8373, allocations: 0 / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.8373, allocations: 1.281 kB / 0.9523 GB, free: 6.598 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006877/0.838, allocations: 489.4 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8381, allocations: 10.72 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.8382, allocations: 22.94 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.8386, allocations: 279.4 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.8387, allocations: 17.25 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.8387, allocations: 20.34 kB / 0.9531 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.8391, allocations: 189.1 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8391, allocations: 0 / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.8391, allocations: 5.375 kB / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.8392, allocations: 5.656 kB / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.8395, allocations: 153.4 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.8403, allocations: 0.5721 MB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.8406, allocations: 128.6 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.8408, allocations: 58.17 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.8408, allocations: 5.469 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.8408, allocations: 35.94 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.8409, allocations: 1.344 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005646/0.8414, allocations: 206.9 kB / 0.9544 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.8415, allocations: 53.47 kB / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.8416, allocations: 181.1 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.8416, allocations: 25.7 kB / 0.9547 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.8417, allocations: 147 kB / 0.9548 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.8417, allocations: 44.11 kB / 0.9549 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.8418, allocations: 51.78 kB / 0.9549 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.8419, allocations: 322.7 kB / 0.9552 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.842, allocations: 47.28 kB / 0.9553 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.8422, allocations: 106.8 kB / 0.9554 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.8425, allocations: 131.8 kB / 0.9555 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8425, allocations: 0 / 0.9555 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003886/0.8429, allocations: 194.5 kB / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8429, allocations: 5.781 kB / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8429, allocations: 5.094 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.843, allocations: 2.75 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.8432, allocations: 34.31 kB / 0.9557 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.8432, allocations: 2.094 kB / 0.9557 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.8433, allocations: 20.3 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.8433, allocations: 6.094 kB / 0.9558 GB, free: 3.73 MB / 0.7169 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.0001069/0.8434, allocations: 141.8 kB / 0.9559 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.8435, allocations: 10.59 kB / 0.9559 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.8435, allocations: 24.33 kB / 0.9559 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8435, allocations: 1.344 kB / 0.9559 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8435, allocations: 0 / 0.9559 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8435, allocations: 1.344 kB / 0.9559 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.8438, allocations: 261.5 kB / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8438, allocations: 0 / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.8439, allocations: 32.56 kB / 0.9562 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8439, allocations: 0 / 0.9562 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.8439, allocations: 9 kB / 0.9562 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.844, allocations: 1.562 kB / 0.9562 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.844, allocations: 0 / 0.9562 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.8443, allocations: 247 kB / 0.9565 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.8444, allocations: 104.5 kB / 0.9566 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.8444, allocations: 9.375 kB / 0.9566 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.8445, allocations: 12.05 kB / 0.9566 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.8446, allocations: 18.39 kB / 0.9566 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.8446, allocations: 2.688 kB / 0.9566 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.085e-05/0.8447, allocations: 122.1 kB / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8447, allocations: 0 / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002561/0.845, allocations: 37.03 kB / 0.9567 GB, free: 2.852 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: 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.000124/0.8451, allocations: 121.7 kB / 0.9569 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.8455, allocations: 138.2 kB / 0.957 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.8455, allocations: 0 / 0.957 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.8457, allocations: 69.36 kB / 0.9571 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.846, allocations: 35.08 kB / 0.9571 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.8466, allocations: 387.8 kB / 0.9575 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.8468, allocations: 0.7317 MB / 0.9582 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.8469, allocations: 20.55 kB / 0.9582 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.8469, allocations: 18.44 kB / 0.9582 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.847, allocations: 0 / 0.9582 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of Templates: time 0.004245/0.8512, allocations: 1.354 MB / 0.9595 GB, free: 0.957 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches