Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001108/0.001108, 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.009317/0.009317, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.565/1.565, 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 11.0.1-master/package.mo): time 2.972/2.972, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 11.5 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3767, allocations: 159.6 MB / 1.059 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001672/0.3785, allocations: 0.8294 MB / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3801, allocations: 0.9986 MB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.3803, allocations: 4 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.782e-05/0.3804, allocations: 11.86 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.3806, allocations: 27.78 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.3809, allocations: 63.95 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.3812, allocations: 216.1 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.3815, allocations: 120.1 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.3817, allocations: 63.64 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3819, allocations: 71.56 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.3819, allocations: 4 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.125e-05/0.3819, allocations: 4 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.382, allocations: 39.78 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.3821, allocations: 101.2 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.3824, allocations: 279.2 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3825, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.326e-06/0.3825, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.3825, allocations: 4 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009127/0.3834, allocations: 463.2 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.3835, allocations: 8.031 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/0.3836, allocations: 24.66 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.3842, allocations: 292.2 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.3843, allocations: 20.81 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.3843, allocations: 20.38 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.3848, allocations: 207.8 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3848, allocations: 192 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.3849, allocations: 11.94 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.3849, allocations: 7.984 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.3854, allocations: 169.7 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3865, allocations: 0.5995 MB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.3869, allocations: 168.5 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.3872, allocations: 68.83 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.3872, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.3872, allocations: 42.55 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.3872, allocations: 7.938 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006927/0.3879, allocations: 229.2 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.388, allocations: 55.41 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3883, allocations: 182.6 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3883, allocations: 33.7 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3884, allocations: 136.2 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.3885, allocations: 55.36 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.3886, allocations: 33.7 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3887, allocations: 326.8 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.3889, allocations: 63.95 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.3891, allocations: 109 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.3895, allocations: 150.8 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3895, allocations: 4 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004696/0.39, allocations: 214.5 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.39, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.39, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.39, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.3902, allocations: 39.91 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3903, allocations: 160 / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.3904, allocations: 27.84 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3904, allocations: 11.98 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001838/0.3906, allocations: 139 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.3907, allocations: 19.75 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.3907, allocations: 17.88 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.3907, allocations: 8 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3908, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3908, allocations: 3.984 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.3911, allocations: 265.5 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.3911, allocations: 3.938 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3913, allocations: 23.98 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3913, allocations: 0 / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3913, allocations: 8 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3913, allocations: 4 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3913, allocations: 4 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.3918, allocations: 273.2 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.3919, allocations: 104.8 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3919, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3921, allocations: 15.98 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.3922, allocations: 23.91 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3922, allocations: 8 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001004/0.3923, allocations: 119.2 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3923, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002861/0.3926, allocations: 35.84 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001566/0.3927, allocations: 115.2 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.3932, allocations: 160 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3932, allocations: 3.938 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.3934, allocations: 90.7 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3938, allocations: 27.86 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.3945, allocations: 420.4 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3949, allocations: 0.7322 MB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.395, allocations: 25.53 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.395, allocations: 19.42 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.395, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.0049/0.3999, allocations: 1.324 MB / 1.069 GB, free: 10.54 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches