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.0009286/0.0009353, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007518/0.007518, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.484/2.484, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005674/0.0005679, allocations: 12 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8832/0.8838, allocations: 142.4 MB / 0.9551 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001479/0.8853, allocations: 0.8066 MB / 0.9559 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.8866, allocations: 0.9986 MB / 0.9569 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.8867, allocations: 3.188 kB / 0.9569 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.8867, allocations: 11.86 kB / 0.9569 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.8869, allocations: 17.69 kB / 0.9569 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.8871, allocations: 67.84 kB / 0.957 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.8873, allocations: 201.9 kB / 0.9571 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.8876, allocations: 121.7 kB / 0.9573 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.8877, allocations: 60.44 kB / 0.9573 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.8878, allocations: 70.14 kB / 0.9574 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.8879, allocations: 4.156 kB / 0.9574 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.8879, allocations: 5.594 kB / 0.9574 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.8879, allocations: 25.64 kB / 0.9574 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.888, allocations: 104.4 kB / 0.9575 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.8883, allocations: 256.4 kB / 0.9578 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8883, allocations: 3.984 kB / 0.9578 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8883, allocations: 0 / 0.9578 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8883, allocations: 1.5 kB / 0.9578 GB, free: 5.652 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.0006452/0.8889, allocations: 456 kB / 0.9582 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.889, allocations: 12.78 kB / 0.9582 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.8891, allocations: 24.81 kB / 0.9582 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.8895, allocations: 287.6 kB / 0.9585 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.8896, allocations: 13.75 kB / 0.9585 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.8896, allocations: 20.16 kB / 0.9585 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.89, allocations: 197.6 kB / 0.9587 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.89, allocations: 0 / 0.9587 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.8901, allocations: 14.73 kB / 0.9588 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.8901, allocations: 4.125 kB / 0.9588 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.8905, allocations: 160.4 kB / 0.9589 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.8913, allocations: 0.5685 MB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.8917, allocations: 145.8 kB / 0.9596 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.8919, allocations: 64.45 kB / 0.9597 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.8919, allocations: 1.312 kB / 0.9597 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.8919, allocations: 31.84 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.8919, allocations: 0 / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0006398/0.8926, allocations: 235.1 kB / 0.9599 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.8926, allocations: 57.28 kB / 0.96 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.8928, allocations: 173 kB / 0.9601 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.8928, allocations: 26.55 kB / 0.9602 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.8929, allocations: 142.6 kB / 0.9603 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.8929, allocations: 44.67 kB / 0.9603 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.893, allocations: 32.8 kB / 0.9604 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.8931, allocations: 325.9 kB / 0.9607 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.8932, allocations: 61.8 kB / 0.9607 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.8934, allocations: 100.9 kB / 0.9608 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.8938, allocations: 157.1 kB / 0.961 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8938, allocations: 0 / 0.961 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004262/0.8942, allocations: 197.4 kB / 0.9612 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.8942, allocations: 9.797 kB / 0.9612 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.8943, allocations: 5.719 kB / 0.9612 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.8943, allocations: 1.969 kB / 0.9612 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.8945, allocations: 34 kB / 0.9612 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.8945, allocations: 3 kB / 0.9612 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.8946, allocations: 30.8 kB / 0.9613 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.8947, allocations: 13.12 kB / 0.9613 GB, free: 2.797 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.0001351/0.8948, allocations: 138 kB / 0.9614 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.8949, allocations: 9.781 kB / 0.9614 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/0.8949, allocations: 21.44 kB / 0.9614 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8949, allocations: 0.9688 kB / 0.9614 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.8949, allocations: 1.031 kB / 0.9614 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8949, allocations: 0 / 0.9614 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.8952, allocations: 270.3 kB / 0.9617 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8953, allocations: 0 / 0.9617 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.8954, allocations: 26.86 kB / 0.9617 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.8954, allocations: 1.406 kB / 0.9617 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.8954, allocations: 11.92 kB / 0.9617 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8954, allocations: 1.406 kB / 0.9617 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8954, allocations: 0 / 0.9617 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.8959, allocations: 260.9 kB / 0.962 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.8959, allocations: 92.92 kB / 0.9621 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.8959, allocations: 8.844 kB / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.8961, allocations: 20.42 kB / 0.9621 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.8962, allocations: 19.94 kB / 0.9621 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.8962, allocations: 3.094 kB / 0.9621 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.578e-05/0.8963, allocations: 124 kB / 0.9622 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8963, allocations: 0 / 0.9622 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002827/0.8966, allocations: 44.03 kB / 0.9623 GB, free: 1.91 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.0001493/0.8967, allocations: 114.3 kB / 0.9624 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.8972, allocations: 145.2 kB / 0.9625 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8972, allocations: 320 / 0.9625 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.8974, allocations: 82.83 kB / 0.9626 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.8977, allocations: 14.38 kB / 0.9626 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006799/0.8984, allocations: 410.4 kB / 0.963 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.8986, allocations: 0.7287 MB / 0.9637 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.8987, allocations: 20.64 kB / 0.9637 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.8988, allocations: 21.23 kB / 0.9638 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/0.8988, allocations: 0 / 0.9638 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of Templates: time 0.004559/0.9034, allocations: 1.282 MB / 0.965 GB, free: 56 kB / 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