Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01174/0.01174, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.887/2.887, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000555/0.0005551, allocations: 8.062 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4099, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001897/0.4119, allocations: 0.9906 MB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.4134, allocations: 1.065 MB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.4136, allocations: 4 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.4137, allocations: 27.72 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.4138, allocations: 19.86 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.4141, allocations: 91.86 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.4144, allocations: 276.3 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.4148, allocations: 164.8 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.4149, allocations: 83.47 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.4151, allocations: 91.41 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.4151, allocations: 8 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.4151, allocations: 8 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.4152, allocations: 27.86 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.4153, allocations: 132.9 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.4156, allocations: 366.8 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4157, allocations: 4 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4157, allocations: 4 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.4157, allocations: 0 / 1.062 GB, free: 2.086 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008385/0.4165, allocations: 0.4953 MB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4166, allocations: 16.03 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.4167, allocations: 28.56 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.4172, allocations: 329 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.4173, allocations: 24.94 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.4173, allocations: 24.38 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.4178, allocations: 245.4 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4178, allocations: 8.062 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.4179, allocations: 11.94 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.4179, allocations: 8 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.4183, allocations: 202.1 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.4194, allocations: 0.694 MB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.4198, allocations: 182.7 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.42, allocations: 80.86 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.4201, allocations: 4 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4201, allocations: 42.55 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.4201, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006508/0.4208, allocations: 250.5 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.4208, allocations: 55.41 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.421, allocations: 215.5 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.4211, allocations: 29.7 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.4212, allocations: 172.3 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.4213, allocations: 51.3 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.4213, allocations: 37.7 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4214, allocations: 334.8 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.4216, allocations: 68.42 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.4219, allocations: 136.4 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.4223, allocations: 193.6 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4223, allocations: 0 / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004724/0.4228, allocations: 237.4 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4228, allocations: 9.594 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4228, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4228, allocations: 4 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.423, allocations: 47.91 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.423, allocations: 4 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.4232, allocations: 27.83 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.4232, allocations: 8 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0001847/0.4234, allocations: 159.2 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.4234, allocations: 19.72 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.4235, allocations: 25.86 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.4235, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4235, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4235, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.4239, allocations: 309.3 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4239, allocations: 4 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.424, allocations: 35.91 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.424, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4241, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.4241, allocations: 4 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4241, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.4245, allocations: 289.1 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.4246, allocations: 96.86 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.4246, allocations: 7.938 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4248, allocations: 15.98 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.4249, allocations: 35.95 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4249, allocations: 4 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001054/0.425, allocations: 137.5 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.633e-06/0.425, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002988/0.4253, allocations: 55.69 kB / 1.067 GB, free: 12.33 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: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001482/0.4255, allocations: 107.2 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004617/0.426, allocations: 188.8 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.426, allocations: 448 / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.4262, allocations: 91.89 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4265, allocations: 27.92 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.4273, allocations: 498.5 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4276, allocations: 0.749 MB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.4278, allocations: 33.92 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.4278, allocations: 19.44 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4279, allocations: 0 / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.005406/0.4333, allocations: 1.763 MB / 1.071 GB, free: 8.871 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches