Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.00108/0.00108, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001286/0.001287, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.774/2.774, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.000388, allocations: 8 kB / 0.8723 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7794, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001764/0.7812, allocations: 0.9257 MB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.7829, allocations: 1.042 MB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.7831, allocations: 4 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.7832, allocations: 31.67 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.522e-05/0.7833, allocations: 15.86 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.7836, allocations: 75.8 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.7839, allocations: 256.4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.7841, allocations: 116 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.7843, allocations: 79.59 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.7845, allocations: 79.53 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.7845, allocations: 8 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.188e-05/0.7845, allocations: 4 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.7846, allocations: 31.8 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.7847, allocations: 61.58 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.785, allocations: 297.2 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.785, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.873e-06/0.785, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.785, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008926/0.7859, allocations: 0.5145 MB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.786, allocations: 8.562 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.7861, allocations: 27.72 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.7866, allocations: 319.8 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.7866, allocations: 20.56 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.7867, allocations: 20 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.7872, allocations: 240.8 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7872, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.7872, allocations: 8 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.7872, allocations: 8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.7877, allocations: 194.1 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.7887, allocations: 0.6663 MB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.7892, allocations: 154.7 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.7894, allocations: 76.83 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.7894, allocations: 3.953 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.7894, allocations: 34.56 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.7894, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0006501/0.7901, allocations: 239.5 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.7901, allocations: 59.34 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.7904, allocations: 207.6 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.7904, allocations: 29.7 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.7905, allocations: 168.1 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.7906, allocations: 43.3 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.7906, allocations: 8 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.7908, allocations: 326.8 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.7909, allocations: 67.95 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.7912, allocations: 124.3 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.7913, allocations: 67.97 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.7914, allocations: 0 / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004448/0.7918, allocations: 235 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.7918, allocations: 8.172 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.7919, allocations: 12 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.7919, allocations: 4 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.7921, allocations: 43.91 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.7921, allocations: 4 kB / 1.029 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.7922, allocations: 23.83 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.7923, allocations: 19.92 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y,reaToInt2.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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.7924, allocations: 149.8 kB / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.7925, allocations: 19.72 kB / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.7926, allocations: 25.83 kB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.7926, allocations: 0 / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7926, allocations: 4 kB / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7926, allocations: 3.984 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.793, allocations: 289.5 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.793, allocations: 4 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.7931, allocations: 31.91 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7931, allocations: 4 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.7931, allocations: 0 / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.7931, allocations: 3.953 kB / 1.03 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7932, allocations: 0 / 1.03 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.7936, allocations: 280 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.7937, allocations: 96.92 kB / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.7938, allocations: 0 / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.7939, allocations: 15.98 kB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.794, allocations: 35.91 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.794, allocations: 8 kB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001896/0.7942, allocations: 140.2 kB / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7942, allocations: 0 / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002841/0.7945, allocations: 43.78 kB / 1.03 GB, free: 7.656 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (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,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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.7947, allocations: 116.5 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.7951, allocations: 177.7 kB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7951, allocations: 0 / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.7953, allocations: 88.33 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.7957, allocations: 27.92 kB / 1.031 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.7966, allocations: 461.6 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.7969, allocations: 0.7409 MB / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.7971, allocations: 33.88 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.7972, allocations: 27.42 kB / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.7972, allocations: 0 / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of Templates: time 0.005233/0.8024, allocations: 1.672 MB / 1.034 GB, free: 4.328 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches