Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.007384/0.007384, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.001808/0.001808, allocations: 195.3 kB / 16.67 MB, free: 5.883 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.51/2.51, allocations: 469.4 MB / 0.7422 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6283/0.6295, allocations: 159.1 MB / 1.22 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002092/0.6317, allocations: 1.016 MB / 1.221 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.6328, allocations: 0.98 MB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.6329, allocations: 4 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.333e-05/0.633, allocations: 19.73 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.6331, allocations: 23.8 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.6333, allocations: 63.88 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.6334, allocations: 160.1 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.6336, allocations: 96.16 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.6338, allocations: 71.66 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.6339, allocations: 71.67 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.6339, allocations: 16 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.634, allocations: 16 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.634, allocations: 39.84 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.6341, allocations: 71.61 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.6343, allocations: 222.8 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6343, allocations: 4 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6343, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.6344, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9512 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.0005983/0.635, allocations: 454.7 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.635, allocations: 8.625 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.635, allocations: 46.73 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.6351, allocations: 20.8 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.6355, allocations: 262.1 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.6355, allocations: 8.375 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.6356, allocations: 12.38 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.6359, allocations: 155.1 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6359, allocations: 7.938 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6359, allocations: 4 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6359, allocations: 4 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.6363, allocations: 123.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.6369, allocations: 472.3 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.6372, allocations: 122.6 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.6373, allocations: 60.81 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.6374, allocations: 3.938 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.6374, allocations: 34.56 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.6374, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0005471/0.638, allocations: 177.8 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.638, allocations: 51.41 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.6381, allocations: 161.2 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.6381, allocations: 25.7 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.6382, allocations: 128.3 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.6382, allocations: 31.7 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.6383, allocations: 41.69 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.6384, allocations: 330.8 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6386, allocations: 43.97 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.6387, allocations: 75.33 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.639, allocations: 107.4 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.639, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003682/0.6394, allocations: 153.5 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6394, allocations: 8.094 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.6394, allocations: 7.922 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6395, allocations: 4 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.6396, allocations: 23.98 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6396, allocations: 4 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.6397, allocations: 15.94 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6398, allocations: 4 kB / 1.226 GB, free: 12.05 MB / 0.9512 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 9.863e-05/0.6399, allocations: 138.2 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.6399, allocations: 11.91 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.6399, allocations: 20.7 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.64, allocations: 0 / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.64, allocations: 0 / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.64, allocations: 3.984 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.6402, allocations: 245.5 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6402, allocations: 0 / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.6403, allocations: 15.98 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6403, allocations: 0 / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6404, allocations: 15.98 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6404, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6404, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.6407, allocations: 239.2 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.6408, allocations: 85.06 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.6408, allocations: 0 / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6409, allocations: 19.92 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.641, allocations: 15.98 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.641, allocations: 4 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.6411, allocations: 112.9 kB / 1.226 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6411, allocations: 0 / 1.226 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002578/0.6414, allocations: 31.89 kB / 1.227 GB, free: 11.01 MB / 0.9512 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.0006169/0.642, allocations: 0.7747 MB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.6424, allocations: 112.2 kB / 1.227 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6424, allocations: 4.188 kB / 1.227 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.6425, allocations: 60.11 kB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.6428, allocations: 21.88 kB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.6448, allocations: 1.741 MB / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.645, allocations: 0.7162 MB / 1.23 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.096e-05/0.6451, allocations: 21.02 kB / 1.23 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.6452, allocations: 47.42 kB / 1.23 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of SimCode: time 3.8e-07/0.6452, allocations: 0 / 1.23 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.6621, allocations: 2.773 MB / 1.233 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.796, allocations: 5.766 kB / 1.233 GB, free: 4.793 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches