Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00713/0.00713, allocations: 111 kB / 15.71 MB, free: 5.543 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.001423/0.001423, allocations: 189.9 kB / 16.64 MB, free: 5.484 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.361/1.361, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.9031, allocations: 140.4 MB / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002011/0.9052, allocations: 1.281 MB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00086/0.9061, allocations: 0.6081 MB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.9061, allocations: 0 / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.9061, allocations: 0.7031 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.9062, allocations: 5.781 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.9066, allocations: 140.5 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.9067, allocations: 24.08 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.9068, allocations: 7.578 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.9068, allocations: 4.656 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.9068, allocations: 10.58 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.9069, allocations: 0.875 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.9074, allocations: 345.3 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.9074, allocations: 6.266 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.9074, allocations: 7.641 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.9077, allocations: 146.5 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.9077, allocations: 1.125 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9078, allocations: 0 / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.9078, allocations: 4 kB / 1.091 GB, free: 3.895 MB / 0.8575 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.00039/0.9082, allocations: 355.6 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.9082, allocations: 9.031 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.9082, allocations: 2.875 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.9083, allocations: 175.1 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.9083, allocations: 1.75 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.9084, allocations: 6 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.9085, allocations: 44.64 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9085, allocations: 4.188 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.9085, allocations: 5.141 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9085, allocations: 0.5625 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.9086, allocations: 19.69 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.9088, allocations: 248.9 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.909, allocations: 54.58 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.9091, allocations: 21.66 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.9091, allocations: 1.531 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.9091, allocations: 36.75 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.9091, allocations: 0 / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001638/0.9093, allocations: 56.25 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.9093, allocations: 52.25 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.936e-05/0.9094, allocations: 99.38 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.9094, allocations: 29.7 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.9094, allocations: 90.03 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.769e-06/0.9094, allocations: 7.297 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.9095, allocations: 18.89 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.9095, allocations: 312.8 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.9095, allocations: 9.312 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.9096, allocations: 18.17 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.9096, allocations: 38.25 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9096, allocations: 0 / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.897e-05/0.9097, allocations: 67.42 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.9098, allocations: 6 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.9098, allocations: 0 / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.9098, allocations: 1.781 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.9098, allocations: 7.938 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.9098, allocations: 1.531 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.9099, allocations: 4.625 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.9099, allocations: 2.672 kB / 1.092 GB, free: 2.113 MB / 0.8575 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 4.537e-05/0.9099, allocations: 120 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.91, allocations: 2.297 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.9101, allocations: 61.89 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.9101, allocations: 4.812 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9101, allocations: 0.6562 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.9101, allocations: 1.516 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.9102, allocations: 158.5 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9103, allocations: 0.9375 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.9103, allocations: 10.94 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9103, allocations: 4 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.9103, allocations: 0.75 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.9103, allocations: 4.688 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9103, allocations: 1.484 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.644e-05/0.9104, allocations: 155.2 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.9105, allocations: 79.14 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.9105, allocations: 0.5625 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.9105, allocations: 5.688 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.9105, allocations: 1.781 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.9106, allocations: 2.016 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.977e-05/0.9106, allocations: 82.61 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9106, allocations: 0 / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002522/0.9108, allocations: 18.88 kB / 1.093 GB, free: 1.398 MB / 0.8575 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.0001607/0.911, allocations: 122.7 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.878e-05/0.9111, allocations: 27.2 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9111, allocations: 7.875 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-05/0.9111, allocations: 13.83 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.9114, allocations: 5.969 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.9116, allocations: 115 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.651e-05/0.9117, allocations: 0.6762 MB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.9118, allocations: 11.42 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.9118, allocations: 10.23 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.9118, allocations: 1.062 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of Templates: time 0.002467/0.9143, allocations: 0.5081 MB / 1.094 GB, free: 384 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches