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.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.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.001511/0.001511, allocations: 108 kB / 15.61 MB, free: 152 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.001798/0.001798, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.525/2.525, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 67.89 kB / 0.8126 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8931, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002318/0.8955, allocations: 1.098 MB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.8966, allocations: 1.02 MB / 0.9517 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.8967, allocations: 3 kB / 0.9517 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.067e-05/0.8968, allocations: 23.67 kB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.8969, allocations: 22.39 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.8971, allocations: 82.97 kB / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.8973, allocations: 213.9 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.8975, allocations: 124.8 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.8977, allocations: 89.02 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.8978, allocations: 99.72 kB / 0.9523 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.8979, allocations: 22.47 kB / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.709e-05/0.8979, allocations: 22.25 kB / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.898, allocations: 45.97 kB / 0.9524 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.898, allocations: 105.5 kB / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.8983, allocations: 277.4 kB / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8983, allocations: 0 / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8983, allocations: 3.938 kB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.659e-06/0.8983, allocations: 5.297 kB / 0.9528 GB, free: 6.637 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.0006651/0.899, allocations: 486.4 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.8991, allocations: 12.52 kB / 0.9533 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.8991, allocations: 24.22 kB / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.8996, allocations: 275.4 kB / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.8996, allocations: 13.44 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.8996, allocations: 20.12 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.9, allocations: 188.8 kB / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9, allocations: 0 / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.9, allocations: 10.22 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.9001, allocations: 8.656 kB / 0.9538 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.9004, allocations: 157.9 kB / 0.9539 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.9011, allocations: 0.5715 MB / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.9014, allocations: 123 kB / 0.9546 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.9016, allocations: 66.75 kB / 0.9547 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.9016, allocations: 5.906 kB / 0.9547 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.9017, allocations: 39.62 kB / 0.9547 GB, free: 5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.9017, allocations: 0 / 0.9547 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005618/0.9022, allocations: 196.8 kB / 0.9549 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.9023, allocations: 56.56 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.9024, allocations: 177.7 kB / 0.9551 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.9024, allocations: 30.89 kB / 0.9552 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.9025, allocations: 138.9 kB / 0.9553 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.9025, allocations: 44.61 kB / 0.9553 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.9026, allocations: 47.45 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.9027, allocations: 322.6 kB / 0.9557 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.9028, allocations: 60.45 kB / 0.9557 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.903, allocations: 100.5 kB / 0.9558 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.9033, allocations: 138 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9033, allocations: 1.5 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003591/0.9037, allocations: 185.3 kB / 0.9562 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.9037, allocations: 7.031 kB / 0.9562 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9037, allocations: 3.938 kB / 0.9562 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9037, allocations: 7.547 kB / 0.9562 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.9039, allocations: 30.58 kB / 0.9562 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.9039, allocations: 2.25 kB / 0.9562 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.904, allocations: 23.89 kB / 0.9562 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.904, allocations: 5.281 kB / 0.9562 GB, free: 3.773 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.0001019/0.9042, allocations: 141.8 kB / 0.9564 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.9042, allocations: 15.58 kB / 0.9564 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.9042, allocations: 24.06 kB / 0.9564 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.9042, allocations: 1.406 kB / 0.9564 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9043, allocations: 1.375 kB / 0.9564 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9043, allocations: 0 / 0.9564 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.9045, allocations: 262.5 kB / 0.9567 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9045, allocations: 0 / 0.9567 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.9046, allocations: 28.11 kB / 0.9567 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9047, allocations: 0 / 0.9567 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.9047, allocations: 9.703 kB / 0.9567 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9047, allocations: 0 / 0.9567 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.9047, allocations: 0 / 0.9567 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.9051, allocations: 251.2 kB / 0.9569 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.9051, allocations: 100.6 kB / 0.957 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.9052, allocations: 10.06 kB / 0.957 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.9053, allocations: 12.7 kB / 0.957 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.9054, allocations: 24.12 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.9054, allocations: 3.406 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.424e-05/0.9055, allocations: 122.3 kB / 0.9572 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9055, allocations: 1.281 kB / 0.9572 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002767/0.9058, allocations: 34.97 kB / 0.9572 GB, free: 2.883 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.000155/0.9059, allocations: 119.9 kB / 0.9573 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.9064, allocations: 148.5 kB / 0.9575 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9064, allocations: 0 / 0.9575 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.9066, allocations: 70.7 kB / 0.9575 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.907, allocations: 27.62 kB / 0.9576 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007767/0.9078, allocations: 321.8 kB / 0.9579 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.9081, allocations: 0.7274 MB / 0.9586 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000106/0.9082, allocations: 21.55 kB / 0.9586 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.9082, allocations: 22.23 kB / 0.9586 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of SimCode: time 1.343e-06/0.9082, allocations: 0 / 0.9586 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of Templates: time 0.004546/0.9128, allocations: 1.431 MB / 0.96 GB, free: 1.016 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","/var/lib/jenkins/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