Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001257/0.001257, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.261/2.261, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4581, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001961/0.4601, allocations: 1.069 MB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.461, allocations: 0.9636 MB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.461, allocations: 8 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.4611, allocations: 11.86 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.4612, allocations: 11.92 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.4613, allocations: 55.89 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.4615, allocations: 143.6 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.4616, allocations: 92.16 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4617, allocations: 59.72 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.4618, allocations: 63.69 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.4618, allocations: 8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.4619, allocations: 8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.4619, allocations: 35.83 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.462, allocations: 55.61 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.4621, allocations: 193.6 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4621, allocations: 0 / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.41e-07/0.4621, allocations: 0 / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.4621, allocations: 0 / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005392/0.4627, allocations: 455.1 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4627, allocations: 15.97 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.4628, allocations: 42.75 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.4628, allocations: 16.75 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.4632, allocations: 256.2 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4632, allocations: 16.66 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.4632, allocations: 12.38 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.4635, allocations: 148.4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4635, allocations: 3.938 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4635, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4635, allocations: 7.938 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.4638, allocations: 112.8 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.4644, allocations: 468.1 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.4646, allocations: 110.6 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.4648, allocations: 52.81 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.4648, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.4648, allocations: 34.56 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.4648, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004751/0.4653, allocations: 173.4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.4653, allocations: 55.34 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.4654, allocations: 154.3 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4655, allocations: 29.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.4655, allocations: 119.7 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.4656, allocations: 35.55 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.4656, allocations: 37.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.4657, allocations: 326.8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.4658, allocations: 43.97 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.466, allocations: 67.39 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.4662, allocations: 107.3 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4662, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000315/0.4666, allocations: 145.4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.4666, allocations: 8 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.4666, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.4666, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4668, allocations: 35.91 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4668, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/0.4669, allocations: 19.83 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.4669, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.537e-05/0.467, allocations: 136.6 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.467, allocations: 7.906 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.467, allocations: 16.7 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.467, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4671, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4671, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.4673, allocations: 229.4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4673, allocations: 7.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4674, allocations: 23.97 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4674, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4674, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4674, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4674, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.4677, allocations: 223.8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.4678, allocations: 89.02 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.4678, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4679, allocations: 11.98 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.468, allocations: 19.91 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.468, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.4681, allocations: 114.8 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4681, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002274/0.4683, allocations: 27.84 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005532/0.4689, allocations: 0.7786 MB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.4692, allocations: 112 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4692, allocations: 0 / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.4693, allocations: 51.91 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.4696, allocations: 23.92 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4713, allocations: 1.735 MB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.4715, allocations: 0.7162 MB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.575e-05/0.4716, allocations: 16.64 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.4717, allocations: 47.42 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4717, allocations: 0 / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4136/0.8853, allocations: 2.435 MB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.8856, allocations: 271 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.52, allocations: 2.031 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches