Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.006579/0.006579, allocations: 98.31 kB / 15.73 MB, free: 6.492 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.001543/0.001543, allocations: 200.8 kB / 16.68 MB, free: 6.375 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.722/2.722, allocations: 469.4 MB / 0.7422 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.89 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2631, allocations: 159.1 MB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002127/0.2653, allocations: 1.014 MB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2664, allocations: 0.9752 MB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.2665, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.2666, allocations: 15.8 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.2667, allocations: 27.73 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.2669, allocations: 63.88 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.2671, allocations: 168 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2673, allocations: 96.16 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2674, allocations: 71.7 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.2675, allocations: 67.69 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.2676, allocations: 16 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.2676, allocations: 16 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.2676, allocations: 39.84 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.2677, allocations: 79.59 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.2679, allocations: 215 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.268, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.268, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.268, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006333/0.2686, allocations: 450.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2687, allocations: 8.031 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.2687, allocations: 50.73 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.2688, allocations: 24.8 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.2692, allocations: 256 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2692, allocations: 8.375 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.2692, allocations: 16.38 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.2696, allocations: 151.2 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2696, allocations: 7.875 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2696, allocations: 4 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2696, allocations: 8 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.27, allocations: 115.9 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.2706, allocations: 472.2 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.2709, allocations: 130.6 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.2711, allocations: 48.83 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2711, allocations: 0 / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2712, allocations: 42.55 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.2712, allocations: 3.938 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005611/0.2718, allocations: 173.5 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2718, allocations: 55.34 kB / 1.224 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.2719, allocations: 159.9 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.272, allocations: 25.7 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.272, allocations: 124.3 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.2721, allocations: 31.7 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.2721, allocations: 37.7 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2723, allocations: 330.8 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2724, allocations: 47.95 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.2726, allocations: 67.41 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.2729, allocations: 107.3 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2729, allocations: 0 / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00038/0.2733, allocations: 157.9 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2733, allocations: 5.719 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.2733, allocations: 0 / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2734, allocations: 8 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2735, allocations: 27.91 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2735, allocations: 4 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2737, allocations: 23.88 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2737, allocations: 4 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.0001104/0.2738, allocations: 142.3 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.2738, allocations: 11.91 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.2739, allocations: 20.7 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2739, allocations: 0 / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2739, allocations: 0 / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2739, allocations: 0 / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.2741, allocations: 241.5 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2741, allocations: 0 / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.2743, allocations: 15.98 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2743, allocations: 11.94 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2743, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2743, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2743, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.2747, allocations: 239.3 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.2748, allocations: 89.05 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2748, allocations: 8 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2749, allocations: 11.98 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.275, allocations: 11.98 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.275, allocations: 8 kB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.184e-05/0.2751, allocations: 112.5 kB / 1.226 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2751, allocations: 0 / 1.226 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002582/0.2754, allocations: 35.83 kB / 1.227 GB, free: 7.273 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: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0006371/0.276, allocations: 0.767 MB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.2764, allocations: 124 kB / 1.227 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2764, allocations: 0 / 1.227 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.2766, allocations: 55.95 kB / 1.227 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.2769, allocations: 15.94 kB / 1.227 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.279, allocations: 1.752 MB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2793, allocations: 0.7162 MB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.531e-05/0.2794, allocations: 17.08 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.55e-05/0.2795, allocations: 47.42 kB / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2795, allocations: 0 / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.2966, allocations: 2.766 MB / 1.233 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/7.641, allocations: 15.14 kB / 1.233 GB, free: 1.059 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches