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.001197/0.001198, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001381/0.001381, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.434/2.434, allocations: 390.2 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.615, allocations: 142.3 MB / 0.9536 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001007/0.616, allocations: 0.7759 MB / 0.9543 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009182/0.6169, allocations: 0.991 MB / 0.9553 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.617, allocations: 11.12 kB / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.6171, allocations: 15.84 kB / 0.9553 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.6172, allocations: 15.59 kB / 0.9553 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.6173, allocations: 59.03 kB / 0.9554 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.6175, allocations: 117.8 kB / 0.9555 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.6176, allocations: 89.81 kB / 0.9556 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.6178, allocations: 67.3 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.6179, allocations: 68.17 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.6179, allocations: 5.562 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.6179, allocations: 5.938 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.6179, allocations: 18.05 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.618, allocations: 58.83 kB / 0.9558 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.6181, allocations: 220.8 kB / 0.956 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.6181, allocations: 0 / 0.956 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6181, allocations: 0 / 0.956 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.6182, allocations: 1.125 kB / 0.956 GB, free: 6.355 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.0005144/0.6187, allocations: 461.4 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.6187, allocations: 12.91 kB / 0.9565 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.6188, allocations: 26.89 kB / 0.9565 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.6192, allocations: 278.2 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.6192, allocations: 17.36 kB / 0.9568 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.6192, allocations: 20.72 kB / 0.9568 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.6196, allocations: 186.1 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.6196, allocations: 1.219 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.6196, allocations: 9.219 kB / 0.957 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6196, allocations: 4.656 kB / 0.957 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.62, allocations: 167.7 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.6206, allocations: 0.5718 MB / 0.9577 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.6209, allocations: 137.6 kB / 0.9578 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.621, allocations: 0.9375 kB / 0.9578 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.621, allocations: 35.8 kB / 0.9579 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.621, allocations: 0 / 0.9579 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005442/0.6215, allocations: 226 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.6216, allocations: 53.19 kB / 0.9581 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6217, allocations: 170.5 kB / 0.9583 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.6217, allocations: 27.05 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.6217, allocations: 138.5 kB / 0.9584 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.6218, allocations: 44.48 kB / 0.9585 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.6218, allocations: 5.375 kB / 0.9585 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.6218, allocations: 327.5 kB / 0.9588 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.622, allocations: 55.58 kB / 0.9589 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.6222, allocations: 112.4 kB / 0.959 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.6223, allocations: 66.95 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6223, allocations: 1.375 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003771/0.6227, allocations: 191.4 kB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6227, allocations: 5.5 kB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6227, allocations: 1.594 kB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.6228, allocations: 2.781 kB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.6229, allocations: 33.5 kB / 0.9593 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.623, allocations: 6.812 kB / 0.9593 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.6231, allocations: 30.48 kB / 0.9593 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.6231, allocations: 6.5 kB / 0.9593 GB, free: 3.652 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.723e-05/0.6232, allocations: 137 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.6232, allocations: 14.33 kB / 0.9594 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.6233, allocations: 17.03 kB / 0.9595 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.6233, allocations: 1 kB / 0.9595 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6233, allocations: 1.406 kB / 0.9595 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6233, allocations: 0 / 0.9595 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.6235, allocations: 278 kB / 0.9597 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6235, allocations: 0 / 0.9597 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.6236, allocations: 26.17 kB / 0.9597 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6237, allocations: 1.188 kB / 0.9597 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6237, allocations: 5.406 kB / 0.9598 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6237, allocations: 5.141 kB / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6237, allocations: 0 / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.624, allocations: 266.7 kB / 0.96 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.6241, allocations: 85.42 kB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.6241, allocations: 1.062 kB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.6242, allocations: 20.02 kB / 0.9601 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.6243, allocations: 23.41 kB / 0.9601 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.6243, allocations: 8 kB / 0.9601 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.6244, allocations: 122.4 kB / 0.9603 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6244, allocations: 0 / 0.9603 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000265/0.6247, allocations: 40 kB / 0.9603 GB, free: 2.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001014/0.6248, allocations: 120.7 kB / 0.9604 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.6251, allocations: 145.4 kB / 0.9606 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6252, allocations: 1.688 kB / 0.9606 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.6253, allocations: 85.2 kB / 0.9606 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.6256, allocations: 22.75 kB / 0.9607 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.6261, allocations: 381.8 kB / 0.961 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.6262, allocations: 0.7344 MB / 0.9617 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.793e-05/0.6263, allocations: 27.45 kB / 0.9618 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.6264, allocations: 18.16 kB / 0.9618 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6264, allocations: 0 / 0.9618 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of Templates: time 0.003591/0.63, allocations: 1.236 MB / 0.963 GB, free: 0.9219 MB / 0.7169 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 -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","../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