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.01168/0.01168, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.002398/0.002398, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.494/1.494, 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.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.12, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003342/1.124, allocations: 1.426 MB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001714/1.125, allocations: 1.092 MB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/1.125, allocations: 8.906 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/1.126, allocations: 35.02 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/1.126, allocations: 40.83 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/1.126, allocations: 124.4 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003659/1.126, allocations: 334.4 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/1.127, allocations: 205 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/1.127, allocations: 140 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/1.127, allocations: 146.1 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/1.127, allocations: 37.84 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/1.127, allocations: 41.5 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/1.128, allocations: 81.08 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/1.128, allocations: 157.1 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006177/1.128, allocations: 474.8 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.128, allocations: 0.8438 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.694e-06/1.128, allocations: 3.938 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.457e-06/1.128, allocations: 0.7969 kB / 1.092 GB, free: 2.746 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.0008829/1.129, allocations: 0.5873 MB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.129, allocations: 12.34 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/1.129, allocations: 38.3 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/1.13, allocations: 326.8 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/1.13, allocations: 27.34 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/1.13, allocations: 29.56 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/1.131, allocations: 292.6 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/1.131, allocations: 0.9062 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/1.131, allocations: 14.06 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/1.131, allocations: 8.703 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/1.131, allocations: 230.7 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/1.133, allocations: 0.7984 MB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/1.133, allocations: 233.7 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/1.133, allocations: 111 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/1.133, allocations: 7 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/1.133, allocations: 33.02 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/1.133, allocations: 4 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.000841/1.134, allocations: 305.7 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.134, allocations: 54.25 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/1.135, allocations: 209.3 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.135, allocations: 30.55 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/1.135, allocations: 191.9 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/1.135, allocations: 75.11 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/1.135, allocations: 67.84 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/1.135, allocations: 334 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/1.135, allocations: 74.03 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/1.136, allocations: 138.4 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/1.136, allocations: 212.5 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.136, allocations: 0.875 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006815/1.137, allocations: 272.1 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/1.137, allocations: 6.094 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.137, allocations: 7.328 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.137, allocations: 2.375 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/1.137, allocations: 52.2 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/1.137, allocations: 4.016 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/1.137, allocations: 40.75 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/1.138, allocations: 13.28 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.000198/1.138, allocations: 155.6 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/1.138, allocations: 25.88 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/1.138, allocations: 251.8 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.138, allocations: 2.062 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.138, allocations: 5.125 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/1.139, allocations: 1.922 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/1.139, allocations: 347.9 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.139, allocations: 0 / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/1.139, allocations: 41.52 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.139, allocations: 0.8438 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.139, allocations: 10.41 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.139, allocations: 1.031 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.139, allocations: 0.6562 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/1.14, allocations: 336.9 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/1.14, allocations: 103.9 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/1.14, allocations: 5.5 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.14, allocations: 13.06 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.14, allocations: 27.33 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/1.14, allocations: 6.328 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001591/1.14, allocations: 143.6 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.14, allocations: 0 / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003384/1.141, allocations: 58.12 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.0001997/1.141, allocations: 111.9 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000592/1.142, allocations: 218.4 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.142, allocations: 0 / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/1.142, allocations: 114.8 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/1.142, allocations: 25.58 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009407/1.143, allocations: 473.6 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/1.144, allocations: 0.7663 MB / 1.1 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001362/1.144, allocations: 34.89 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/1.144, allocations: 24.83 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.144, allocations: 0 / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of Templates: time 0.006563/1.15, allocations: 1.893 MB / 1.102 GB, free: 13.23 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