Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.604/2.604, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6718, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.004006/0.6759, allocations: 1.29 MB / 1.019 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.6772, allocations: 0.5955 MB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.6773, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.6773, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/0.6774, allocations: 7.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.6782, allocations: 145.5 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.6782, allocations: 19.92 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.6783, allocations: 4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.6783, allocations: 7.938 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.6784, allocations: 11.98 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.6784, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000559/0.679, allocations: 347.3 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.679, allocations: 3.938 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.679, allocations: 7.984 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.6793, allocations: 149.7 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6794, allocations: 4 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6794, allocations: 0 / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6794, allocations: 0 / 1.02 GB, free: 80 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005161/0.6799, allocations: 359.4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.68, allocations: 12.03 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.68, allocations: 4.875 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.6802, allocations: 172.3 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.6802, allocations: 4.375 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.6802, allocations: 4.375 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.6803, allocations: 42.25 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.6803, allocations: 192 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.6804, allocations: 7.875 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6804, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.6804, allocations: 15.98 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.6808, allocations: 248.8 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.6811, allocations: 54.62 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/0.6811, allocations: 16.86 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.6811, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.6812, allocations: 34.5 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6812, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.6814, allocations: 61.66 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.6814, allocations: 55.41 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.6815, allocations: 101.9 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.6815, allocations: 25.7 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.6816, allocations: 80.14 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.6816, allocations: 15.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.6816, allocations: 13.72 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6818, allocations: 318.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.6818, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.6818, allocations: 29.64 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.195e-05/0.6819, allocations: 25.72 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6819, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.8e-05/0.682, allocations: 65.56 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.682, allocations: 5.406 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.682, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.682, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.6821, allocations: 11.98 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6821, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.6822, allocations: 16 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.6822, allocations: 4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.145e-05/0.6823, allocations: 117.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.6823, allocations: 3.938 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.6824, allocations: 69.09 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6825, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6825, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6825, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.6826, allocations: 161.6 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6827, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.6827, allocations: 7.938 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.6827, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.6827, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6827, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6827, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.6829, allocations: 147.4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.6829, allocations: 89.02 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.6829, allocations: 7.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.807e-05/0.683, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.683, allocations: 0.5156 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.683, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.6831, allocations: 79.27 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6831, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002471/0.6833, allocations: 20 kB / 1.022 GB, free: 13.26 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002036/0.6835, allocations: 135.1 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.6837, allocations: 23.94 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6837, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.6837, allocations: 11.98 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.6839, allocations: 7.938 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.6843, allocations: 118.7 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.6846, allocations: 0.6807 MB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.6846, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.6846, allocations: 7.438 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.6846, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.002997/0.6876, allocations: 0.5122 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches