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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007352/0.007352, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.002006/0.002006, allocations: 192.6 kB / 16.67 MB, free: 5.973 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.364/2.364, allocations: 482.6 MB / 0.7551 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 61.06 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2447, allocations: 162.3 MB / 1.242 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002246/0.2469, allocations: 1.434 MB / 1.243 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.248, allocations: 1.092 MB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.2482, allocations: 4 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.569e-05/0.2482, allocations: 39.47 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.2484, allocations: 39.59 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.2486, allocations: 119.8 kB / 1.245 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.2489, allocations: 344.6 kB / 1.245 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.2492, allocations: 213.9 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.2494, allocations: 135.4 kB / 1.245 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2495, allocations: 159.2 kB / 1.245 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.2496, allocations: 36 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.149e-05/0.2496, allocations: 40 kB / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.2497, allocations: 75.77 kB / 1.246 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.2498, allocations: 159.1 kB / 1.246 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.2502, allocations: 482.2 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.2502, allocations: 0 / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2502, allocations: 0 / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.2502, allocations: 8 kB / 1.246 GB, free: 4.68 MB / 0.9669 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.0007238/0.251, allocations: 0.5925 MB / 1.247 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.251, allocations: 12.03 kB / 1.247 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.495e-05/0.2511, allocations: 70.66 kB / 1.247 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.2511, allocations: 44.69 kB / 1.247 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.2516, allocations: 329.5 kB / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.2516, allocations: 37.31 kB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.2517, allocations: 28.38 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.2522, allocations: 291.1 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2522, allocations: 3.938 kB / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2522, allocations: 12 kB / 1.247 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2522, allocations: 8 kB / 1.248 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.2527, allocations: 239.9 kB / 1.248 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.2537, allocations: 0.8175 MB / 1.249 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.2541, allocations: 245.8 kB / 1.249 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.2544, allocations: 121.3 kB / 1.249 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.2544, allocations: 4.234 kB / 1.249 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2544, allocations: 34.8 kB / 1.249 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 1.212e-06/0.2544, allocations: 0 / 1.249 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27): time 0.0006533/0.2551, allocations: 317.3 kB / 1.249 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2551, allocations: 55.41 kB / 1.249 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2553, allocations: 211.6 kB / 1.249 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2553, allocations: 29.7 kB / 1.25 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2554, allocations: 188.5 kB / 1.25 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.2555, allocations: 75.34 kB / 1.25 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/0.2556, allocations: 69.95 kB / 1.25 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2557, allocations: 326.8 kB / 1.25 GB, free: 360 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.2559, allocations: 92.44 kB / 1.25 GB, free: 268 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2561, allocations: 139.9 kB / 1.25 GB, free: 104 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.2565, allocations: 222.8 kB / 1.251 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2565, allocations: 0 / 1.251 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004745/0.257, allocations: 265.3 kB / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.257, allocations: 8 kB / 1.251 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2571, allocations: 0 / 1.251 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2571, allocations: 8.156 kB / 1.251 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.2573, allocations: 63.84 kB / 1.251 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.2573, allocations: 7.938 kB / 1.251 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2574, allocations: 31.77 kB / 1.251 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.2574, allocations: 15.94 kB / 1.251 GB, free: 15.46 MB / 0.9825 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.0001332/0.2576, allocations: 150.3 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.2576, allocations: 23.84 kB / 1.251 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.2581, allocations: 260.5 kB / 1.251 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2581, allocations: 4 kB / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2582, allocations: 0 / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2582, allocations: 0 / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.2585, allocations: 353.3 kB / 1.252 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2585, allocations: 0 / 1.252 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.2587, allocations: 43.91 kB / 1.252 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2587, allocations: 4 kB / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2587, allocations: 11.92 kB / 1.252 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2587, allocations: 4 kB / 1.252 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2587, allocations: 0 / 1.252 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.2592, allocations: 331.2 kB / 1.252 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.2592, allocations: 100.9 kB / 1.252 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2593, allocations: 15.92 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2594, allocations: 8 kB / 1.252 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.2594, allocations: 27.95 kB / 1.252 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.2595, allocations: 8 kB / 1.252 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.495e-05/0.2596, allocations: 137.5 kB / 1.252 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2596, allocations: 0 / 1.252 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002578/0.2598, allocations: 63.78 kB / 1.252 GB, free: 13.85 MB / 0.9825 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.0007432/0.2606, allocations: 0.8733 MB / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.261, allocations: 227.7 kB / 1.253 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.261, allocations: 0 / 1.253 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.2613, allocations: 111.9 kB / 1.254 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.2615, allocations: 33.84 kB / 1.254 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.2642, allocations: 2.393 MB / 1.256 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.2645, allocations: 0.7676 MB / 1.257 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.2646, allocations: 34.28 kB / 1.257 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2647, allocations: 103.3 kB / 1.257 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of SimCode: time 1.904e-06/0.2647, allocations: 0 / 1.257 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.737/4.002, allocations: 4.075 MB / 1.261 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/12.61, allocations: 11.86 kB / 1.261 GB, free: 5.258 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > 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/jenkins1/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