Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009548/0.009547, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001782/0.001782, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.482/2.482, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 63.91 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9752/0.977, allocations: 140.4 MB / 1.088 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002566/0.9796, allocations: 1.423 MB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.9809, allocations: 1.096 MB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.9811, allocations: 8.406 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.739e-05/0.9811, allocations: 35.95 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.9813, allocations: 43.53 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.9816, allocations: 124.6 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.982, allocations: 334.5 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.9824, allocations: 203.9 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.9826, allocations: 136.9 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.9827, allocations: 145 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.9828, allocations: 38.91 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.9829, allocations: 37.16 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.983, allocations: 82.5 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.9831, allocations: 156.6 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.9836, allocations: 478.4 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9837, allocations: 5.094 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9837, allocations: 0 / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.9837, allocations: 0 / 1.092 GB, free: 2.723 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008291/0.9845, allocations: 0.5691 MB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9846, allocations: 9.5 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.9846, allocations: 38.11 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.9852, allocations: 330.9 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.9852, allocations: 27.16 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.9853, allocations: 29.03 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.9859, allocations: 284.8 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.9859, allocations: 0.8438 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.986, allocations: 14.56 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.986, allocations: 8.203 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005831/0.9866, allocations: 239.4 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.9877, allocations: 0.8015 MB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.9883, allocations: 232.2 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.9885, allocations: 114.9 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.9886, allocations: 7.406 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.9886, allocations: 36.75 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.9886, allocations: 0 / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0008035/0.9894, allocations: 304.5 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.9895, allocations: 59.56 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.9897, allocations: 203.8 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.9897, allocations: 35.86 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.9898, allocations: 170.2 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.9899, allocations: 83.22 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.99, allocations: 62.42 kB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.99, allocations: 334.9 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.9903, allocations: 78.45 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.9906, allocations: 134.7 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.9911, allocations: 217.1 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9911, allocations: 0.625 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006145/0.9917, allocations: 271.9 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.9917, allocations: 5.953 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.9917, allocations: 10.44 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.9918, allocations: 3.281 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.9921, allocations: 52.19 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.9921, allocations: 12.5 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.9922, allocations: 27.69 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.9923, allocations: 13.47 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (33): * Single equations (assignments): 33 * 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.0002076/0.9925, allocations: 156.4 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.9925, allocations: 21.09 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.9932, allocations: 247.4 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.9932, allocations: 3.125 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.9932, allocations: 1.062 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.9932, allocations: 4.875 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.9937, allocations: 347.4 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.9937, allocations: 5.547 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.9939, allocations: 40.78 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.9939, allocations: 1.062 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.9939, allocations: 10.25 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.994, allocations: 0.75 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.994, allocations: 1.766 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.9946, allocations: 336.4 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.9946, allocations: 96.55 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.9947, allocations: 8.625 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.9948, allocations: 13.45 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.9949, allocations: 26.89 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.995, allocations: 14.12 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001613/0.9951, allocations: 136.2 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9951, allocations: 0 / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003291/0.9955, allocations: 60.94 kB / 1.098 GB, free: 14.63 MB / 0.8731 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.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001685/0.9957, allocations: 116.9 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005818/0.9962, allocations: 215.2 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9963, allocations: 448 / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.9966, allocations: 118.5 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.997, allocations: 23.22 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.998, allocations: 466.9 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.9984, allocations: 0.7661 MB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.9986, allocations: 34.39 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.9987, allocations: 25.12 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9987, allocations: 3.938 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.006843/1.006, allocations: 1.869 MB / 1.102 GB, free: 13.26 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches