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.001651/0.001651, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001983/0.001983, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.393/2.393, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9892/0.9913, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002365/0.9937, allocations: 1.115 MB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.9949, allocations: 1.005 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.995, allocations: 3.031 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.343e-05/0.9951, allocations: 21.61 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.9953, allocations: 28.16 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.9955, allocations: 82.5 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.9958, allocations: 222.4 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.9961, allocations: 116.4 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.9963, allocations: 88.72 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.9964, allocations: 99.53 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.9965, allocations: 26.47 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.9965, allocations: 23.06 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.9966, allocations: 46.62 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.9967, allocations: 101.7 kB / 1.092 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.997, allocations: 285.8 kB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.997, allocations: 0 / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.997, allocations: 0 / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.9971, allocations: 0.7969 kB / 1.092 GB, free: 3.418 MB / 0.8575 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.0007104/0.9978, allocations: 488.6 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.9978, allocations: 13.98 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.9979, allocations: 22.78 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.9983, allocations: 275.9 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.9984, allocations: 17.53 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.9984, allocations: 16.5 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.9989, allocations: 195.7 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.9989, allocations: 4 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.9989, allocations: 6.438 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.9989, allocations: 4.656 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.9994, allocations: 147.1 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/1, allocations: 0.5606 MB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/1.001, allocations: 131 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/1.001, allocations: 60.97 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/1.001, allocations: 10.58 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/1.001, allocations: 35.5 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/1.001, allocations: 4 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006602/1.001, allocations: 198.5 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/1.001, allocations: 57.86 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/1.002, allocations: 186.2 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/1.002, allocations: 30.48 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/1.002, allocations: 134 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/1.002, allocations: 43.09 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/1.002, allocations: 49.81 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/1.002, allocations: 327.3 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/1.002, allocations: 50 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/1.002, allocations: 94.78 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/1.003, allocations: 142.4 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.003, allocations: 0 / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004543/1.003, allocations: 184.9 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.003, allocations: 6.531 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.003, allocations: 5.5 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.003, allocations: 6.562 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/1.003, allocations: 37.86 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.003, allocations: 2.969 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/1.004, allocations: 22.75 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/1.004, allocations: 5.656 kB / 1.095 GB, free: 0.9141 MB / 0.8575 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.0001049/1.004, allocations: 143.1 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/1.004, allocations: 14.62 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/1.004, allocations: 27.03 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.004, allocations: 2.062 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.004, allocations: 0 / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.004, allocations: 2.297 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/1.004, allocations: 259.2 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.004, allocations: 0.7969 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/1.004, allocations: 25.42 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.004, allocations: 0.875 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/1.004, allocations: 5.922 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.004, allocations: 0.9062 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.004, allocations: 8.734 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/1.005, allocations: 252.8 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/1.005, allocations: 93.69 kB / 1.096 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/1.005, allocations: 5.875 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/1.005, allocations: 11.62 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/1.005, allocations: 23.67 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.005, allocations: 8.453 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.311e-05/1.005, allocations: 121.1 kB / 1.096 GB, free: 124 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.005, allocations: 0 / 1.096 GB, free: 124 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000289/1.005, allocations: 39.97 kB / 1.096 GB, free: 108 kB / 0.8575 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.0001457/1.006, allocations: 111.2 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005722/1.006, allocations: 137.3 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.006, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/1.006, allocations: 71.91 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/1.007, allocations: 25.36 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007939/1.008, allocations: 350.1 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.008, allocations: 0.7304 MB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/1.008, allocations: 25.05 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/1.008, allocations: 0 / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.005414/1.014, allocations: 2.099 MB / 1.1 GB, free: 14.75 MB / 0.8731 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/jenkins1/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