Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 103.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.89 kB / 1.104 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9687/0.9709, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002342/0.9733, allocations: 1.023 MB / 1.27 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.9745, allocations: 0.9819 MB / 1.271 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.815e-05/0.9746, allocations: 2.25 kB / 1.271 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.654e-05/0.9747, allocations: 14.67 kB / 1.271 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.9748, allocations: 25.33 kB / 1.271 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.975, allocations: 60.77 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.9753, allocations: 165.9 kB / 1.271 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.9754, allocations: 70.03 kB / 1.271 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.9756, allocations: 77.7 kB / 1.271 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.9757, allocations: 68.09 kB / 1.271 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.9758, allocations: 17.06 kB / 1.271 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.152e-05/0.9758, allocations: 16.59 kB / 1.271 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.9759, allocations: 38.92 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.9759, allocations: 80.38 kB / 1.271 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.9762, allocations: 207.6 kB / 1.272 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9762, allocations: 4 kB / 1.272 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9763, allocations: 0.8125 kB / 1.272 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.413e-06/0.9763, allocations: 4 kB / 1.272 GB, free: 5.875 MB / 0.9981 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.0006492/0.9769, allocations: 459.8 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.977, allocations: 9.156 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.977, allocations: 47.3 kB / 1.272 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.9771, allocations: 21.27 kB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.9775, allocations: 251.6 kB / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.9775, allocations: 14.88 kB / 1.272 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.9775, allocations: 14.22 kB / 1.272 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.9779, allocations: 152.1 kB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.9779, allocations: 4.75 kB / 1.272 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.9779, allocations: 5.312 kB / 1.272 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.9779, allocations: 4.125 kB / 1.272 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.9783, allocations: 117.2 kB / 1.273 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.9789, allocations: 480.5 kB / 1.273 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.9792, allocations: 114 kB / 1.273 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.9793, allocations: 48.45 kB / 1.273 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.9794, allocations: 9.344 kB / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.9794, allocations: 36.89 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.9794, allocations: 0 / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0005421/0.9799, allocations: 170 kB / 1.273 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.98, allocations: 53.47 kB / 1.273 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.9801, allocations: 160.6 kB / 1.274 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.9801, allocations: 26.52 kB / 1.274 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.9801, allocations: 125.1 kB / 1.274 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.9802, allocations: 34.2 kB / 1.274 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.9802, allocations: 40.06 kB / 1.274 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.9803, allocations: 325.8 kB / 1.274 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.9804, allocations: 46.89 kB / 1.274 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.9806, allocations: 76.67 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.9808, allocations: 102.8 kB / 1.274 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9808, allocations: 0.5625 kB / 1.274 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003384/0.9812, allocations: 154.8 kB / 1.275 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9812, allocations: 5.375 kB / 1.275 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9812, allocations: 1.562 kB / 1.275 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.9812, allocations: 2.141 kB / 1.275 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.9814, allocations: 33.67 kB / 1.275 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.9814, allocations: 5.906 kB / 1.275 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.9815, allocations: 17.91 kB / 1.275 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.9815, allocations: 4.469 kB / 1.275 GB, free: 3.547 MB / 0.9981 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 8.885e-05/0.9816, allocations: 133 kB / 1.275 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.9816, allocations: 17.11 kB / 1.275 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.9817, allocations: 17.95 kB / 1.275 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.9817, allocations: 5.688 kB / 1.275 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9817, allocations: 0 / 1.275 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9817, allocations: 0.9688 kB / 1.275 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.9819, allocations: 241.7 kB / 1.275 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.9819, allocations: 0.8125 kB / 1.275 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.982, allocations: 22.52 kB / 1.275 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.982, allocations: 5.875 kB / 1.275 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.982, allocations: 5.594 kB / 1.275 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.982, allocations: 0.8125 kB / 1.275 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.982, allocations: 3.516 kB / 1.275 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.9824, allocations: 236.8 kB / 1.275 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.9824, allocations: 87.38 kB / 1.275 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.9825, allocations: 1.031 kB / 1.275 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.9826, allocations: 11.22 kB / 1.275 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.9826, allocations: 17.75 kB / 1.275 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.9826, allocations: 6.406 kB / 1.275 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.9827, allocations: 113.9 kB / 1.275 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9827, allocations: 0 / 1.275 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002584/0.983, allocations: 30.27 kB / 1.275 GB, free: 2.766 MB / 0.9981 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.0005657/0.9835, allocations: 0.7789 MB / 1.276 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.9839, allocations: 104.8 kB / 1.276 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9839, allocations: 0.9688 kB / 1.276 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.9841, allocations: 59.2 kB / 1.276 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.9844, allocations: 22.42 kB / 1.276 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.9866, allocations: 1.75 MB / 1.278 GB, free: 16.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.9869, allocations: 0.7143 MB / 1.279 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.666e-05/0.987, allocations: 18.34 kB / 1.279 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.9871, allocations: 49.23 kB / 1.279 GB, free: 15.84 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/0.9871, allocations: 0 / 1.279 GB, free: 15.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/1.013, allocations: 2.781 MB / 1.282 GB, free: 15.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/9.111, allocations: 18.91 kB / 1.282 GB, free: 15.4 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.363646022044122]