Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_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_10_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.007667/0.007667, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001911/0.001911, allocations: 190.8 kB / 16.67 MB, free: 5.969 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.31/1.31, 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 10.1.1-maint.10.0.x/package.mo): time 2.381/2.381, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.91 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.6394, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002047/0.6414, allocations: 1.012 MB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.6425, allocations: 0.9713 MB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.6426, allocations: 0 / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.6426, allocations: 15.8 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.6427, allocations: 23.8 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.6429, allocations: 55.89 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.6431, allocations: 163.6 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.6433, allocations: 88.17 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.6434, allocations: 71.7 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.791e-05/0.6435, allocations: 67.69 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.6435, allocations: 19.94 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.6436, allocations: 20 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.6436, allocations: 35.86 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.6437, allocations: 75.64 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.6439, allocations: 207.9 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6439, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6439, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6439, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005845/0.6445, allocations: 453.3 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.6445, allocations: 12.03 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.6446, allocations: 46.73 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.6446, allocations: 16.84 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.645, allocations: 256.3 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.6451, allocations: 8.656 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.6451, allocations: 12.38 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.6454, allocations: 156.9 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6455, allocations: 3.938 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.6455, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6455, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.6458, allocations: 108.8 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.6464, allocations: 472.2 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.6467, allocations: 110.6 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.6469, allocations: 52.81 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.6469, allocations: 0 / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.6469, allocations: 34.56 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.6469, allocations: 4 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005275/0.6474, allocations: 173.4 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.6475, allocations: 55.41 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.6476, allocations: 155.7 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.6476, allocations: 25.7 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.6477, allocations: 127.9 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.6478, allocations: 31.75 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.6478, allocations: 33.7 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6479, allocations: 326.8 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.6481, allocations: 39.97 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.6483, allocations: 71.39 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.6486, allocations: 111.2 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.6486, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00037/0.649, allocations: 149.5 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.649, allocations: 4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.649, allocations: 7.875 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6491, allocations: 4 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.6492, allocations: 19.98 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6492, allocations: 7.984 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.972e-05/0.6493, allocations: 11.95 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.6494, allocations: 8.094 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001014/0.6495, allocations: 137.7 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.6495, allocations: 7.953 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.6496, allocations: 16.72 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6496, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6496, allocations: 3.938 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.6496, allocations: 0 / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.6498, allocations: 245.4 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6498, allocations: 4 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.65, allocations: 19.98 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.65, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.65, allocations: 3.984 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.65, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.65, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.6504, allocations: 235.3 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.6504, allocations: 89.02 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.6505, allocations: 0 / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.6506, allocations: 7.984 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.6506, allocations: 23.92 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.6507, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.37e-05/0.6507, allocations: 116.9 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6507, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000258/0.651, allocations: 27.89 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006391/0.6517, allocations: 0.7638 MB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.652, allocations: 115.8 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.652, allocations: 4 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.6522, allocations: 55.95 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.6525, allocations: 15.8 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.6545, allocations: 1.724 MB / 1.175 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.6548, allocations: 0.7123 MB / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.6549, allocations: 16.64 kB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.655, allocations: 43.42 kB / 1.176 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.655, allocations: 0 / 1.176 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.6727, allocations: 2.731 MB / 1.179 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.862, allocations: 14.41 kB / 1.179 GB, free: 6.5 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches