Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001205/0.001205, allocations: 190.7 kB / 16.14 MB, free: 6.645 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.8 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.61 kB / 0.8985 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3923, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003291/0.3956, allocations: 1.471 MB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3971, allocations: 1.088 MB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3973, allocations: 4 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.285e-05/0.3974, allocations: 23.72 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3976, allocations: 19.86 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.3979, allocations: 111.9 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.3982, allocations: 316.6 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.3986, allocations: 205.9 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3988, allocations: 115.5 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.3989, allocations: 139.2 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.399, allocations: 24 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.399, allocations: 20 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.3991, allocations: 55.77 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.3992, allocations: 155 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.3996, allocations: 434.7 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3997, allocations: 4 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.307e-06/0.3997, allocations: 3.984 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.3997, allocations: 0 / 1.056 GB, free: 4.648 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0008767/0.4006, allocations: 0.5891 MB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4006, allocations: 8.031 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.4007, allocations: 36.47 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.4013, allocations: 325.4 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.4013, allocations: 25.38 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.4014, allocations: 36.38 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.4019, allocations: 291.1 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4019, allocations: 4.172 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.402, allocations: 15.94 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.402, allocations: 8 kB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.4025, allocations: 239.8 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.4037, allocations: 0.825 MB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.4042, allocations: 244.6 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.4044, allocations: 117.3 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.4045, allocations: 12.22 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.4045, allocations: 30.8 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/0.4045, allocations: 3.938 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0007506/0.4053, allocations: 317.5 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.4053, allocations: 55.41 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.4055, allocations: 211.6 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4056, allocations: 29.7 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4057, allocations: 176.2 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.4057, allocations: 78.89 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.4058, allocations: 65.97 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.406, allocations: 338.8 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.4062, allocations: 80.52 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.4064, allocations: 147.9 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.4069, allocations: 218.9 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4069, allocations: 0 / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00053/0.4074, allocations: 277.1 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4074, allocations: 7.938 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4074, allocations: 4 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4075, allocations: 11.94 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.4077, allocations: 51.91 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4077, allocations: 8.203 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.4079, allocations: 31.78 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4079, allocations: 11.98 kB / 1.061 GB, free: 15.52 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: 14 (reaToInt2.y,actAirSet.or1.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 (34): * Single equations (assignments): 34 * 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.0002303/0.4082, allocations: 151.3 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.4082, allocations: 23.72 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005467/0.4088, allocations: 256.3 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4088, allocations: 7.938 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4088, allocations: 0 / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4088, allocations: 0 / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.4092, allocations: 349.3 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4092, allocations: 0 / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.4094, allocations: 39.97 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4094, allocations: 4 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.4094, allocations: 4 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4094, allocations: 7.875 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4094, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.4099, allocations: 331.2 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.41, allocations: 100.8 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.41, allocations: 8 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4102, allocations: 19.92 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.4103, allocations: 23.97 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.4103, allocations: 8 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001063/0.4104, allocations: 137.5 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4104, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002984/0.4107, allocations: 59.69 kB / 1.062 GB, free: 13.92 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001884/0.4109, allocations: 117.2 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.4114, allocations: 219.8 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4114, allocations: 0 / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.4117, allocations: 112.8 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.412, allocations: 32.38 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.413, allocations: 0.5972 MB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.4134, allocations: 0.7636 MB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.4136, allocations: 30.28 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.4137, allocations: 27.42 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.4137, allocations: 4 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.005985/0.4197, allocations: 1.716 MB / 1.066 GB, free: 10.3 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches