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.0008762/0.0008762, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005113/0.005113, allocations: 169.1 kB / 16.26 MB, free: 6.66 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.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.257/2.257, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 12 kB / 0.873 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4716, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.0009897/0.4727, allocations: 0.7074 MB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.4735, allocations: 0.9714 MB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.4736, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.4736, allocations: 3.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.4737, allocations: 19.84 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.4739, allocations: 43.97 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.474, allocations: 159.5 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.4742, allocations: 85.72 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.4743, allocations: 43.78 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.4743, allocations: 51.7 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.4744, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.4744, allocations: 4 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.4744, allocations: 23.8 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.4745, allocations: 81.36 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.4746, allocations: 185.5 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4746, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4746, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.4747, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 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.0004746/0.4751, allocations: 427.2 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.4752, allocations: 8.031 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.4752, allocations: 42.75 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.4752, allocations: 16.75 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.4756, allocations: 272.1 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4756, allocations: 12.66 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.4757, allocations: 12.38 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.476, allocations: 152.4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.476, allocations: 3.938 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.476, allocations: 7.938 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.476, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.4763, allocations: 128.8 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.4768, allocations: 472 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.4771, allocations: 114.6 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.4773, allocations: 64.83 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.4773, allocations: 7.938 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.4773, allocations: 30.56 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4773, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004824/0.4778, allocations: 189.4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.4778, allocations: 51.41 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4779, allocations: 157.7 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.478, allocations: 25.7 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.478, allocations: 123.8 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.478, allocations: 35.55 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.4781, allocations: 25.72 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.4782, allocations: 326.8 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.4783, allocations: 47.95 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.4785, allocations: 83.28 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.4787, allocations: 119.3 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4787, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003256/0.4791, allocations: 157.5 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.4791, allocations: 8 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4791, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.4791, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.4793, allocations: 31.97 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.4793, allocations: 3.938 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.4794, allocations: 31.88 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4794, allocations: 7.984 kB / 1.029 GB, free: 10.02 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.41e-05/0.4795, allocations: 128.2 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.4795, allocations: 7.906 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.4795, allocations: 16.72 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4795, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4796, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4796, allocations: 7.984 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.4798, allocations: 233.4 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4798, allocations: 0 / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.4799, allocations: 27.91 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4799, allocations: 4 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.4799, allocations: 0 / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4799, allocations: 3.938 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4799, allocations: 0 / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.4803, allocations: 243.3 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.4803, allocations: 85.02 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.4803, allocations: 0 / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4804, allocations: 19.98 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.4805, allocations: 15.98 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.4805, allocations: 7.984 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.4806, allocations: 109.5 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4806, allocations: 0 / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002243/0.4808, allocations: 27.84 kB / 1.029 GB, free: 9.008 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.0005419/0.4813, allocations: 0.787 MB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.4817, allocations: 119.8 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4817, allocations: 0 / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.4818, allocations: 72.08 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.4821, allocations: 11.94 kB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.4838, allocations: 1.78 MB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.484, allocations: 0.7163 MB / 1.033 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.095e-05/0.4841, allocations: 20.62 kB / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.4842, allocations: 43.42 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4842, allocations: 0 / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3358/0.82, allocations: 2.368 MB / 1.035 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/0.8203, allocations: 262.5 kB / 1.035 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.844, allocations: 5.969 kB / 1.035 GB, free: 2.82 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