Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.001459/0.001459, allocations: 104.2 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.00141/0.00141, 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.259/3.259, allocations: 0.49 GB / 0.7916 GB, free: 33.51 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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.002059/0.002059, allocations: 77.92 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 176.1 MB / 1.321 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002498/0.3492, allocations: 1.015 MB / 1.322 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3506, allocations: 1.022 MB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3508, allocations: 0 / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.754e-05/0.3508, allocations: 11.81 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.351, allocations: 31.73 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.3512, allocations: 67.92 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.3515, allocations: 164 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.3516, allocations: 60.48 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.3519, allocations: 83.64 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.352, allocations: 79.61 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.352, allocations: 16 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.048e-05/0.3521, allocations: 20 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.3521, allocations: 35.91 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.3522, allocations: 71.61 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.3525, allocations: 227.6 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3525, allocations: 0 / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3525, allocations: 0 / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3525, allocations: 0 / 1.324 GB, free: 328 kB / 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.0007633/0.3533, allocations: 454.7 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3533, allocations: 11.98 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.3534, allocations: 50.73 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3535, allocations: 28.84 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.354, allocations: 255.9 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.3541, allocations: 12.38 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3541, allocations: 12.38 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.3545, allocations: 154 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3545, allocations: 3.938 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3545, allocations: 8 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3545, allocations: 4 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.3549, allocations: 119.9 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.3558, allocations: 480.2 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.3561, allocations: 114.6 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.3563, allocations: 48.81 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3563, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3564, allocations: 34.56 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.3564, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006431/0.357, allocations: 177.4 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.357, allocations: 55.34 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3572, allocations: 164.5 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3572, allocations: 29.69 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.3573, allocations: 124.3 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.3574, allocations: 31.75 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.3575, allocations: 45.69 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3576, allocations: 322.8 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3578, allocations: 43.95 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.358, allocations: 74.06 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.3583, allocations: 111.3 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3583, allocations: 0 / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004196/0.3587, allocations: 153.5 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3587, allocations: 10.03 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3587, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3588, allocations: 4 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3589, allocations: 31.91 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3589, allocations: 4 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3591, allocations: 19.88 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3591, allocations: 4 kB / 1.327 GB, free: 12.93 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.0001453/0.3592, allocations: 141.8 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3593, allocations: 7.953 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.3593, allocations: 16.7 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3593, allocations: 4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3593, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3593, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.3596, allocations: 241.4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.3596, allocations: 4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3598, allocations: 15.98 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3598, allocations: 4 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3598, allocations: 8 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3598, allocations: 3.984 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3598, allocations: 3.984 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.3603, allocations: 231.4 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.3603, allocations: 96.89 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3603, allocations: 4 kB / 1.327 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3605, allocations: 11.92 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.3606, allocations: 19.98 kB / 1.327 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3606, allocations: 4 kB / 1.327 GB, free: 12.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001297/0.3607, allocations: 113.4 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3607, allocations: 0 / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003613/0.3611, allocations: 31.89 kB / 1.328 GB, free: 11.89 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.0008514/0.3619, allocations: 0.7638 MB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.3623, allocations: 124 kB / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3623, allocations: 0 / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.3625, allocations: 55.89 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3629, allocations: 19.52 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.3654, allocations: 1.745 MB / 1.33 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.3658, allocations: 0.7162 MB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.577e-05/0.3659, allocations: 17.08 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.366, allocations: 47.42 kB / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/0.366, allocations: 0 / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.3897, allocations: 2.779 MB / 1.334 GB, free: 5.676 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.685, allocations: 11.72 kB / 1.334 GB, free: 5.668 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.487100944155827]