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.001994/0.001994, allocations: 110 kB / 16.41 MB, free: 6.496 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.002717/0.002717, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.605/2.605, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.225/4.225, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569/1.571, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.004445/1.576, allocations: 1.282 MB / 1.169 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001562/1.578, allocations: 0.6057 MB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/1.578, allocations: 0 / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/1.578, allocations: 3.938 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/1.578, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009753/1.579, allocations: 145 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/1.579, allocations: 23.88 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.97e-05/1.579, allocations: 4 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.737e-05/1.579, allocations: 11.92 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.412e-05/1.579, allocations: 8 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/1.579, allocations: 3.938 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008437/1.58, allocations: 343.3 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/1.58, allocations: 4 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/1.58, allocations: 11.92 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/1.581, allocations: 148.1 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/1.581, allocations: 0 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.462e-06/1.581, allocations: 4 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.581, allocations: 3.938 kB / 1.17 GB, free: 1.242 MB / 0.8887 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.0007305/1.581, allocations: 367.1 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/1.581, allocations: 8.922 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/1.581, allocations: 4.922 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/1.582, allocations: 164.4 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.582, allocations: 384 / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/1.582, allocations: 4.375 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/1.582, allocations: 42.25 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.582, allocations: 192 / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.582, allocations: 7.938 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.582, allocations: 3.938 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/1.582, allocations: 19.98 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/1.583, allocations: 252.9 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/1.583, allocations: 50.56 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/1.583, allocations: 12.86 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/1.583, allocations: 8 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.583, allocations: 34.55 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/1.583, allocations: 0 / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002864/1.584, allocations: 61.62 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/1.584, allocations: 51.41 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/1.584, allocations: 97.8 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/1.584, allocations: 29.7 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/1.584, allocations: 84.09 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/1.584, allocations: 11.94 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/1.584, allocations: 21.72 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.584, allocations: 310.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/1.584, allocations: 8 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/1.584, allocations: 17.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/1.584, allocations: 33.66 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.584, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001584/1.585, allocations: 65.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.585, allocations: 4 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.585, allocations: 4 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/1.585, allocations: 4.422 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/1.585, allocations: 15.86 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.585, allocations: 4 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/1.585, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/1.585, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 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 0.000119/1.585, allocations: 121.8 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/1.585, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/1.585, allocations: 65.16 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.585, allocations: 3.938 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.585, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.585, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/1.585, allocations: 169.5 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.585, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/1.586, allocations: 7.938 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.586, allocations: 4 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/1.586, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.586, allocations: 4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.586, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/1.586, allocations: 147.5 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/1.586, allocations: 77.11 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/1.586, allocations: 3.984 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/1.586, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/1.586, allocations: 8 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/1.586, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.089e-05/1.586, allocations: 87.22 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/1.586, allocations: 0 / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004556/1.587, allocations: 15.94 kB / 1.172 GB, free: 14.43 MB / 0.9044 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.0003118/1.587, allocations: 127.1 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001392/1.587, allocations: 20 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.587, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.769e-05/1.587, allocations: 23.98 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/1.587, allocations: 5.062 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/1.588, allocations: 140.3 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/1.588, allocations: 0.6807 MB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/1.588, allocations: 7.438 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/1.588, allocations: 0 / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.003146/1.592, allocations: 0.7082 MB / 1.174 GB, free: 12.65 MB / 0.9044 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/jenkins1/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