Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007395/0.007395, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.001622/0.001623, allocations: 190.8 kB / 16.67 MB, free: 5.961 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.904/2.904, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3617, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002702/0.3644, allocations: 1.008 MB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.3659, allocations: 0.9718 MB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3661, allocations: 4 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.109e-05/0.3661, allocations: 15.8 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.3663, allocations: 19.73 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.3666, allocations: 71.86 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.3668, allocations: 168 kB / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.367, allocations: 84.17 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.3672, allocations: 71.72 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.3674, allocations: 75.66 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.3674, allocations: 16 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.456e-05/0.3674, allocations: 20 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.3675, allocations: 35.86 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.3676, allocations: 75.59 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.3678, allocations: 215.4 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3678, allocations: 0 / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3679, allocations: 4 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3679, allocations: 0 / 1.21 GB, free: 7.262 MB / 0.9669 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.0007829/0.3687, allocations: 458.8 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.3687, allocations: 12.62 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.152e-05/0.3688, allocations: 46.73 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.3689, allocations: 16.75 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.3694, allocations: 252 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3694, allocations: 12.38 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3695, allocations: 12.38 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.3698, allocations: 150.5 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3699, allocations: 7.938 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3699, allocations: 8 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3699, allocations: 4 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.3702, allocations: 123.8 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.371, allocations: 476.1 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.3713, allocations: 126.5 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.3715, allocations: 52.83 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3715, allocations: 4 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3716, allocations: 30.56 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3716, allocations: 0 / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0006004/0.3722, allocations: 173.5 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3722, allocations: 51.41 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3724, allocations: 160.3 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3724, allocations: 33.64 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.3725, allocations: 116.2 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.3725, allocations: 43.53 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.3726, allocations: 37.7 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3727, allocations: 326.8 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3729, allocations: 39.97 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3731, allocations: 73.36 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.3734, allocations: 111.8 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3735, allocations: 0 / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003951/0.3739, allocations: 161.2 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3739, allocations: 8 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3739, allocations: 0 / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3739, allocations: 4 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.3741, allocations: 27.92 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3741, allocations: 7.984 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3742, allocations: 11.84 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.3743, allocations: 4.094 kB / 1.213 GB, free: 3.883 MB / 0.9669 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.0001258/0.3744, allocations: 141.8 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.3744, allocations: 7.906 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.3745, allocations: 20.66 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3745, allocations: 0 / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3745, allocations: 0 / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3745, allocations: 0 / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3748, allocations: 233.5 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.3748, allocations: 4 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.375, allocations: 23.97 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.375, allocations: 4 kB / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.375, allocations: 8 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.375, allocations: 0 / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.375, allocations: 3.938 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.3755, allocations: 235.2 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.3755, allocations: 88.95 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3755, allocations: 0 / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3757, allocations: 11.92 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.3757, allocations: 23.97 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3758, allocations: 4 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.812e-05/0.3758, allocations: 109.5 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3758, allocations: 0 / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000267/0.3761, allocations: 27.91 kB / 1.214 GB, free: 2.859 MB / 0.9669 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.0008013/0.3769, allocations: 0.7773 MB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.3773, allocations: 111.9 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3774, allocations: 0 / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.3776, allocations: 63.84 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.378, allocations: 19.92 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.3808, allocations: 1.75 MB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.3812, allocations: 0.7123 MB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.3814, allocations: 17.08 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3815, allocations: 51.41 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of SimCode: time 1.503e-06/0.3815, allocations: 0 / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.4031, allocations: 2.805 MB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.522, allocations: 7.281 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,actAirSet.uOpeMod,actAirSet.VCooMax_flow,actAirSet.VOccMin_flow,actAirSet.VActCooMax_flow,actAirSet.VActMin_flow Variables in the result:actAirSet.VActCooMax_flow,actAirSet.VActMin_flow,actAirSet.VCooMax_flow,actAirSet.VOccMin_flow,actAirSet.uOpeMod,minFlo.amplitude,minFlo.freqHz,minFlo.offset,minFlo.phase,minFlo.startTime,minFlo.y,opeMod.duration,opeMod.height,opeMod.offset,opeMod.startTime,opeMod.y,reaToInt2.u,reaToInt2.y,round2.n,round2.u,round2.y,time