Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 102.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 0.49 GB / 0.7916 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.61 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3627, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002653/0.3654, allocations: 1.008 MB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3668, allocations: 1.018 MB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.367, allocations: 4 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.181e-05/0.367, allocations: 19.73 kB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.3671, allocations: 19.81 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.3674, allocations: 71.84 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.3676, allocations: 164 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.3678, allocations: 60.5 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.368, allocations: 79.7 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3682, allocations: 87.55 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.3682, allocations: 16 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.3683, allocations: 20 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.3683, allocations: 35.91 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.38e-05/0.3684, allocations: 71.59 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.3687, allocations: 219 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3687, allocations: 4 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3687, allocations: 0 / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3687, allocations: 0 / 1.324 GB, free: 0.4922 MB / 1.014 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.0007524/0.3694, allocations: 458.8 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3695, allocations: 11.98 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.3695, allocations: 54.62 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.3697, allocations: 32.83 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.3702, allocations: 257.3 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3702, allocations: 12.38 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3702, allocations: 12.38 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.3706, allocations: 150 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3706, allocations: 3.938 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3706, allocations: 4 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3706, allocations: 4 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.371, allocations: 119.9 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.3718, allocations: 484.2 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.3721, allocations: 114.7 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.3723, allocations: 44.83 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3723, allocations: 4 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.3723, allocations: 34.56 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.3723, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006008/0.3729, allocations: 177.4 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.373, allocations: 51.41 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3731, allocations: 160.4 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3732, allocations: 29.7 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.3733, allocations: 124.3 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.3733, allocations: 31.73 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.3734, allocations: 41.7 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3735, allocations: 322.8 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3737, allocations: 43.97 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.3739, allocations: 82.42 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.3742, allocations: 111.7 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3742, allocations: 4 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004082/0.3746, allocations: 153.4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3746, allocations: 11.94 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3746, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3746, allocations: 3.984 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3748, allocations: 27.98 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.3748, allocations: 8.078 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3749, allocations: 19.83 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.3749, allocations: 7.984 kB / 1.327 GB, free: 13.08 MB / 1.029 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.0001379/0.3751, allocations: 136 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.3751, allocations: 11.95 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.3752, allocations: 12.72 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3752, allocations: 4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3752, allocations: 0 / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3752, allocations: 4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.3755, allocations: 237.5 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3755, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.3756, allocations: 23.97 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3756, allocations: 0 / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3756, allocations: 4 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3756, allocations: 7.938 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3756, allocations: 4 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.376, allocations: 235.3 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.3761, allocations: 92.95 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.3761, allocations: 0 / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3762, allocations: 7.984 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.3763, allocations: 23.97 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3763, allocations: 4 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.424e-05/0.3764, allocations: 111.2 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3764, allocations: 0 / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002718/0.3767, allocations: 27.89 kB / 1.328 GB, free: 12.06 MB / 1.029 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.0007667/0.3775, allocations: 0.7748 MB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.3779, allocations: 111.8 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3779, allocations: 0 / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.378, allocations: 51.91 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3784, allocations: 26.45 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.3809, allocations: 1.746 MB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3813, allocations: 0.7123 MB / 1.331 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.945e-05/0.3814, allocations: 21.08 kB / 1.331 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.806e-05/0.3814, allocations: 55.34 kB / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of SimCode: time 6.62e-07/0.3815, allocations: 4 kB / 1.331 GB, free: 8.406 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.4091, allocations: 2.772 MB / 1.334 GB, free: 5.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.496, allocations: 7.688 kB / 1.334 GB, free: 5.832 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.553205490112305]