Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00115/0.00115, allocations: 192.6 kB / 16.13 MB, free: 6.645 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.512 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.23/2.23, allocations: 437 MB / 0.71 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4922, 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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002006/0.4943, allocations: 1.062 MB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00097/0.4952, allocations: 0.9675 MB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.4953, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.4954, allocations: 15.86 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.155e-05/0.4955, allocations: 19.84 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.4957, allocations: 43.97 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.4958, allocations: 151.6 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.496, allocations: 80.17 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4961, allocations: 59.72 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.4962, allocations: 71.61 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.4962, allocations: 8 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.995e-05/0.4963, allocations: 8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.4963, allocations: 35.84 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.4964, allocations: 55.67 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.4965, allocations: 197.5 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4965, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.02e-07/0.4965, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.4965, allocations: 0 / 1.019 GB, free: 24 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.0005714/0.4971, allocations: 449.2 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4972, allocations: 16.02 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.4972, allocations: 42.75 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.4973, allocations: 16.75 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.4976, allocations: 256.1 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4977, allocations: 12.66 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.4977, allocations: 20.38 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.498, allocations: 144.3 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.498, allocations: 7.922 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.498, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.498, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.4983, allocations: 112.8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.4989, allocations: 472.1 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.4991, allocations: 110.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.4993, allocations: 48.83 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4993, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.4993, allocations: 34.56 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.4993, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004698/0.4998, allocations: 173.4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.4999, allocations: 51.41 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.5, allocations: 161.3 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.5, allocations: 25.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.5, allocations: 123.8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.5001, allocations: 31.55 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.5001, allocations: 37.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.5002, allocations: 326.8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5004, allocations: 39.97 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.5005, allocations: 71.39 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.5008, allocations: 111.6 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5008, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003154/0.5011, allocations: 149.5 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5011, allocations: 7.938 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5011, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5011, allocations: 7.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.5013, allocations: 27.97 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.5013, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.009e-05/0.5014, allocations: 15.83 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5014, allocations: 11.94 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 9.001e-05/0.5015, allocations: 138.3 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.5016, allocations: 7.906 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.5016, allocations: 16.7 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5016, allocations: 7.984 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5016, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5016, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.5018, allocations: 229.5 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5018, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.502, allocations: 23.97 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.502, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.502, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.502, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.502, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.5023, allocations: 235.2 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.5024, allocations: 85.02 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.5024, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.5025, allocations: 11.98 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.5026, allocations: 19.97 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.5026, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.5026, allocations: 111.2 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5026, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002296/0.5029, allocations: 27.84 kB / 1.023 GB, free: 11.71 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.0005385/0.5034, allocations: 0.7708 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.5037, allocations: 108.3 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.5037, allocations: 4 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5039, allocations: 56.19 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.5041, allocations: 18.39 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.5059, allocations: 1.746 MB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.5061, allocations: 0.7161 MB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.778e-05/0.5062, allocations: 16.64 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.5063, allocations: 43.42 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5063, allocations: 0 / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.964/2.471, allocations: 2.441 MB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/2.471, allocations: 261.9 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/3.963, allocations: 0 / 1.029 GB, free: 5.539 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches