Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.001195/0.001195, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001189/0.001189, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.19/1.19, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.256/2.256, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5127/0.5141, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.00217/0.5163, allocations: 1.066 MB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.5175, allocations: 0.9714 MB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.5176, allocations: 4 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.724e-05/0.5176, allocations: 11.86 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.5178, allocations: 15.81 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.518, allocations: 51.95 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.5182, allocations: 168 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.5183, allocations: 88.17 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.5185, allocations: 67.77 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.5186, allocations: 71.69 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.5186, allocations: 16 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.36e-05/0.5187, allocations: 19.94 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.5187, allocations: 39.84 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.5188, allocations: 75.59 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.519, allocations: 197.6 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.519, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.052e-06/0.519, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.519, allocations: 0 / 1.02 GB, free: 15.81 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005902/0.5196, allocations: 459.1 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5196, allocations: 8.031 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.5197, allocations: 46.73 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.5197, allocations: 16.75 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5201, allocations: 256.2 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5201, allocations: 16.64 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.5202, allocations: 12.38 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.5205, allocations: 148.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5205, allocations: 3.938 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.5205, allocations: 8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5205, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.5208, allocations: 120.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.5214, allocations: 476.1 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.5216, allocations: 106.5 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.5218, allocations: 52.89 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.5218, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.5218, allocations: 38.5 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5218, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004762/0.5223, allocations: 169.5 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.5224, allocations: 51.41 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5225, allocations: 153.3 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.5225, allocations: 29.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.5226, allocations: 120.1 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.5226, allocations: 35.48 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.5227, allocations: 41.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.5228, allocations: 322.8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.5229, allocations: 47.91 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.5231, allocations: 71.38 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.5233, allocations: 111.7 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5233, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003248/0.5237, allocations: 153.3 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5237, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5237, allocations: 4.094 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.5237, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5239, allocations: 27.91 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5239, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.39e-05/0.524, allocations: 15.92 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.524, allocations: 4 kB / 1.023 GB, free: 12.48 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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.125e-05/0.5241, allocations: 128.4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.5241, allocations: 19.81 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.5242, allocations: 16.7 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5242, allocations: 4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5242, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5242, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.5244, allocations: 229.5 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5244, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5245, allocations: 27.91 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5245, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5245, allocations: 4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5246, allocations: 4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5246, allocations: 3.984 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.5249, allocations: 227.3 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.5249, allocations: 92.86 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.525, allocations: 8 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5251, allocations: 11.98 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.5251, allocations: 19.97 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.5252, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.732e-05/0.5252, allocations: 115.2 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5252, allocations: 3.938 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002595/0.5255, allocations: 23.84 kB / 1.024 GB, free: 11.47 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0005705/0.5261, allocations: 0.7729 MB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.5264, allocations: 111.9 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5264, allocations: 4.125 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.5266, allocations: 56.52 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.5269, allocations: 22.25 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.5287, allocations: 1.746 MB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.529, allocations: 0.7158 MB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.728e-05/0.5291, allocations: 16.64 kB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.5291, allocations: 43.42 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5291, allocations: 0 / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3831/0.9122, allocations: 2.66 MB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.9125, allocations: 257.4 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.476, allocations: 0 / 1.03 GB, free: 5.102 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches