Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_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_10_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.007819/0.007819, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.001965/0.001965, allocations: 189.4 kB / 16.67 MB, free: 5.914 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2489, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002541/0.2515, allocations: 1.428 MB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2528, allocations: 1.092 MB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.253, allocations: 4 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.243e-05/0.2531, allocations: 43.47 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.2533, allocations: 43.59 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.2535, allocations: 119.8 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.2539, allocations: 336.6 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.2542, allocations: 214 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.2544, allocations: 131.4 kB / 1.17 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2545, allocations: 143.3 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.2546, allocations: 39.98 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.2546, allocations: 40 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.2547, allocations: 83.64 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2548, allocations: 151.2 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.2553, allocations: 474.2 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2553, allocations: 4 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2553, allocations: 0 / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.2553, allocations: 4 kB / 1.17 GB, free: 2.984 MB / 0.92 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.0008053/0.2561, allocations: 0.5883 MB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2561, allocations: 12.03 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/0.2562, allocations: 66.72 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.2563, allocations: 36.7 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.2568, allocations: 325.2 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.2568, allocations: 25.03 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.2569, allocations: 36.38 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.2574, allocations: 282.6 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2574, allocations: 7.938 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.2575, allocations: 12 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2575, allocations: 11.98 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.258, allocations: 230.5 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.259, allocations: 0.8039 MB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.2595, allocations: 234.7 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.2597, allocations: 120.7 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.2598, allocations: 0 / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2598, allocations: 38.5 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.153e-06/0.2598, allocations: 0 / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.0007227/0.2605, allocations: 307.5 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.2606, allocations: 55.39 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.2607, allocations: 211.6 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2608, allocations: 33.7 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.2609, allocations: 176.6 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.2609, allocations: 79.28 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/0.261, allocations: 61.97 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2611, allocations: 338.8 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.2614, allocations: 76.52 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.2616, allocations: 135.9 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.262, allocations: 225.7 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.262, allocations: 0 / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005245/0.2626, allocations: 277.1 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2626, allocations: 4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2626, allocations: 4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2626, allocations: 12.16 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.2629, allocations: 51.89 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2629, allocations: 4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.263, allocations: 31.83 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.263, allocations: 12 kB / 1.175 GB, free: 13.85 MB / 0.9356 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.0001304/0.2632, allocations: 147.5 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2632, allocations: 19.86 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.2638, allocations: 251.5 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2638, allocations: 7.938 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2638, allocations: 0 / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2638, allocations: 0 / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.2642, allocations: 345.4 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.2642, allocations: 0 / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2644, allocations: 43.97 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2644, allocations: 0 / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2644, allocations: 7.984 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2644, allocations: 11.88 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2644, allocations: 0 / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.2649, allocations: 321.7 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.265, allocations: 104.9 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.265, allocations: 11.92 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.2651, allocations: 15.94 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.2652, allocations: 27.95 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2652, allocations: 8 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.938e-05/0.2653, allocations: 136.2 kB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2654, allocations: 0 / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003052/0.2657, allocations: 63.78 kB / 1.177 GB, free: 12.26 MB / 0.9356 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.0007506/0.2664, allocations: 0.8699 MB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.2669, allocations: 217 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2669, allocations: 0 / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.2671, allocations: 119.1 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2675, allocations: 33.81 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.2703, allocations: 2.376 MB / 1.18 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.2706, allocations: 0.7674 MB / 1.181 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.2707, allocations: 34.28 kB / 1.181 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.2709, allocations: 91.41 kB / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of SimCode: time 1.633e-06/0.2709, allocations: 0 / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.2905, allocations: 4.044 MB / 1.185 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.625, allocations: 7.438 kB / 1.185 GB, free: 3.746 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches