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.00127/0.00127, allocations: 98.03 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.01095/0.01095, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.516/1.516, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.655/2.655, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004232, allocations: 12 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7836/0.784, allocations: 142.4 MB / 0.9551 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001893/0.786, allocations: 0.8071 MB / 0.9559 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.7878, allocations: 1.003 MB / 0.9569 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.7881, allocations: 2.906 kB / 0.9569 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.701e-05/0.7881, allocations: 11.86 kB / 0.9569 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.7883, allocations: 14.83 kB / 0.9569 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.7886, allocations: 70.11 kB / 0.957 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.7889, allocations: 198.8 kB / 0.9571 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.7893, allocations: 118.4 kB / 0.9573 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.7895, allocations: 60.41 kB / 0.9573 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.7897, allocations: 75.98 kB / 0.9574 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.7897, allocations: 6 kB / 0.9574 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.686e-05/0.7897, allocations: 5.875 kB / 0.9574 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.7898, allocations: 25.39 kB / 0.9574 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.7899, allocations: 103.2 kB / 0.9575 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.7902, allocations: 257.2 kB / 0.9578 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.879e-05/0.7902, allocations: 3.938 kB / 0.9578 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7902, allocations: 0 / 0.9578 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.7902, allocations: 1.438 kB / 0.9578 GB, free: 5.699 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.0007435/0.791, allocations: 458.7 kB / 0.9582 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.791, allocations: 12.97 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.7911, allocations: 23.59 kB / 0.9582 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.7916, allocations: 283.9 kB / 0.9585 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.7917, allocations: 18.44 kB / 0.9585 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.7917, allocations: 24.75 kB / 0.9586 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.7922, allocations: 201.3 kB / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.7922, allocations: 0 / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.7923, allocations: 6.688 kB / 0.9588 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.7923, allocations: 4.625 kB / 0.9588 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.7927, allocations: 164.3 kB / 0.9589 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.7936, allocations: 0.5678 MB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.794, allocations: 134.5 kB / 0.9596 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.7942, allocations: 67.89 kB / 0.9597 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.7942, allocations: 2.062 kB / 0.9597 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.7942, allocations: 32.06 kB / 0.9597 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.7942, allocations: 0 / 0.9597 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0006628/0.7949, allocations: 227.5 kB / 0.9599 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.7949, allocations: 56.77 kB / 0.96 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.7951, allocations: 177.3 kB / 0.9601 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.7951, allocations: 29.64 kB / 0.9602 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.7952, allocations: 143.2 kB / 0.9603 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.7953, allocations: 44.89 kB / 0.9603 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.7953, allocations: 32.7 kB / 0.9604 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.7954, allocations: 325.6 kB / 0.9607 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.7956, allocations: 62.33 kB / 0.9607 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.7958, allocations: 100.9 kB / 0.9608 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.7962, allocations: 154.5 kB / 0.961 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7962, allocations: 0 / 0.961 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000528/0.7967, allocations: 198.3 kB / 0.9612 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.7968, allocations: 5.5 kB / 0.9612 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.7968, allocations: 9.297 kB / 0.9612 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.7968, allocations: 2 kB / 0.9612 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.797, allocations: 34.2 kB / 0.9612 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.7971, allocations: 2.219 kB / 0.9612 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.7972, allocations: 30.17 kB / 0.9613 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.7972, allocations: 10.09 kB / 0.9613 GB, free: 2.848 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.0001455/0.7974, allocations: 141.8 kB / 0.9614 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.7974, allocations: 14.39 kB / 0.9614 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.7975, allocations: 20.47 kB / 0.9614 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.7975, allocations: 2 kB / 0.9614 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.7975, allocations: 0 / 0.9614 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.7975, allocations: 1 kB / 0.9614 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.7978, allocations: 269 kB / 0.9617 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7978, allocations: 0.75 kB / 0.9617 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.798, allocations: 22.23 kB / 0.9617 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.798, allocations: 1.375 kB / 0.9617 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.798, allocations: 9.266 kB / 0.9617 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.798, allocations: 5.281 kB / 0.9617 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.798, allocations: 0 / 0.9617 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.7985, allocations: 264 kB / 0.962 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.7986, allocations: 88.98 kB / 0.9621 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.7986, allocations: 10.03 kB / 0.9621 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.7988, allocations: 19.2 kB / 0.9621 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.7989, allocations: 20.38 kB / 0.9621 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.7989, allocations: 3.406 kB / 0.9621 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001015/0.799, allocations: 120.3 kB / 0.9622 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.799, allocations: 0 / 0.9622 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003012/0.7993, allocations: 39.31 kB / 0.9623 GB, free: 1.965 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.0001763/0.7995, allocations: 122.7 kB / 0.9624 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.7999, allocations: 143.7 kB / 0.9625 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.8, allocations: 320 / 0.9625 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.8002, allocations: 83.05 kB / 0.9626 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.8006, allocations: 16.34 kB / 0.9626 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.8013, allocations: 398.7 kB / 0.963 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.8016, allocations: 0.7285 MB / 0.9637 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.8017, allocations: 20.83 kB / 0.9637 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.8018, allocations: 24.8 kB / 0.9638 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.8018, allocations: 0 / 0.9638 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of Templates: time 0.005048/0.8069, allocations: 1.278 MB / 0.965 GB, free: 112 kB / 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