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.001379/0.001379, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001575/0.001575, allocations: 217.5 kB / 22.25 MB, free: 5.105 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.785 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.153/3.153, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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.002636/0.002636, allocations: 72.83 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3465, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002529/0.349, allocations: 0.9705 MB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3504, allocations: 1.014 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.3505, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.3505, allocations: 15.8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.3506, allocations: 27.73 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.3509, allocations: 67.92 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.3511, allocations: 160.1 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.3513, allocations: 68.78 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3515, allocations: 87.64 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3516, allocations: 67.69 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.3517, allocations: 16 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.324e-05/0.3517, allocations: 24 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.3518, allocations: 43.83 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.3518, allocations: 55.73 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.3521, allocations: 219 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3521, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3521, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3521, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 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.0007115/0.3529, allocations: 385.6 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3529, allocations: 8.031 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.353, allocations: 50.73 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3531, allocations: 24.84 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.3536, allocations: 194.1 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3536, allocations: 8.375 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.3536, allocations: 16.38 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.354, allocations: 150 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.354, allocations: 3.938 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.354, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.354, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.3544, allocations: 123.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.355, allocations: 407.4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.3553, allocations: 114.6 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3555, allocations: 48.83 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3555, allocations: 4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.3556, allocations: 38.55 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.3556, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005489/0.3561, allocations: 173.4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3562, allocations: 59.34 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3563, allocations: 164.3 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3563, allocations: 25.7 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.3564, allocations: 124.4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.3565, allocations: 27.75 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.3565, allocations: 45.66 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3567, allocations: 322.8 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.3568, allocations: 55.89 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.357, allocations: 75.34 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.3573, allocations: 107.8 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3573, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004164/0.3577, allocations: 153.5 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.3578, allocations: 4 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3578, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3578, allocations: 4 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.358, allocations: 27.91 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.358, allocations: 4 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3581, allocations: 23.88 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3581, allocations: 4.094 kB / 1.331 GB, free: 11.52 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.0001423/0.3583, allocations: 136.4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.3583, allocations: 7.953 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.3583, allocations: 24.69 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3583, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3584, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3584, allocations: 7.938 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.3586, allocations: 200.5 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3586, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.3588, allocations: 23.98 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3588, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3588, allocations: 4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3588, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3588, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.3592, allocations: 235.3 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.3593, allocations: 11.91 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.3593, allocations: 7.922 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3595, allocations: 12 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.3596, allocations: 19.97 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3596, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.571e-05/0.3597, allocations: 115.2 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3597, allocations: 0 / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002569/0.3599, allocations: 27.89 kB / 1.332 GB, free: 10.64 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.0007304/0.3606, allocations: 0.772 MB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.361, allocations: 107.8 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.361, allocations: 3.938 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.3612, allocations: 59.95 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3615, allocations: 11.94 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.3639, allocations: 1.752 MB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.364, allocations: 107.2 kB / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.215e-05/0.364, allocations: 17.08 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.3641, allocations: 51.36 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3641, allocations: 0 / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.3944, allocations: 3.356 MB / 1.338 GB, free: 4.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.64, allocations: 8.688 kB / 1.338 GB, free: 4.441 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.393742849992123]