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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008038/0.008038, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001362/0.001362, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8468/0.848, allocations: 140.4 MB / 1.088 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002303/0.8504, allocations: 1.285 MB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009237/0.8513, allocations: 0.5939 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.8514, allocations: 0.8438 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.8514, allocations: 4.641 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.8515, allocations: 1.984 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.852, allocations: 153.3 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.091e-05/0.8521, allocations: 22.48 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.8521, allocations: 2.891 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.8521, allocations: 10.59 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.8522, allocations: 9.75 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.8522, allocations: 1.188 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.8528, allocations: 345 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.8528, allocations: 1.594 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.8529, allocations: 13.5 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.8532, allocations: 144.1 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.8532, allocations: 8 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8532, allocations: 0 / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.8532, allocations: 0 / 1.09 GB, free: 4.203 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.0003814/0.8536, allocations: 354.6 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8536, allocations: 8.953 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.8537, allocations: 10.91 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.264e-05/0.8537, allocations: 170.5 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.8538, allocations: 1.5 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.8538, allocations: 1.5 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.8539, allocations: 48.98 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.8539, allocations: 4.688 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.8539, allocations: 4.75 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8539, allocations: 1.062 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.854, allocations: 14.89 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.8543, allocations: 250.3 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.8545, allocations: 53.39 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.8545, allocations: 19.66 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.8545, allocations: 0 / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.8545, allocations: 32.42 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.8546, allocations: 0 / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001633/0.8547, allocations: 60.39 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.8548, allocations: 52.16 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.88e-05/0.8548, allocations: 104.3 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.8548, allocations: 25.7 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.8549, allocations: 85.78 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.8549, allocations: 14.83 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.8549, allocations: 15.12 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.8549, allocations: 316.9 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.855, allocations: 4.844 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.855, allocations: 21.64 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.8551, allocations: 38.66 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8551, allocations: 0 / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.455e-05/0.8552, allocations: 60.28 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.8552, allocations: 5.438 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8552, allocations: 0 / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.8552, allocations: 1.406 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.8553, allocations: 12.69 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8553, allocations: 0.7812 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.8553, allocations: 9.312 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.8553, allocations: 6.375 kB / 1.092 GB, free: 2.418 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 6.663e-05/0.8554, allocations: 112.1 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.8554, allocations: 1.375 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.8555, allocations: 62.98 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8556, allocations: 1.547 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8556, allocations: 0 / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8556, allocations: 4.812 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.8557, allocations: 166.3 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8557, allocations: 9.266 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.8557, allocations: 6.141 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.8557, allocations: 0.6562 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.8558, allocations: 1.297 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.8558, allocations: 4.75 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8558, allocations: 0.5625 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.213e-05/0.8559, allocations: 151.9 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.8559, allocations: 87.34 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.8559, allocations: 0.6875 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.355e-05/0.856, allocations: 0.7031 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.856, allocations: 3.469 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.856, allocations: 0.8125 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.856, allocations: 78.8 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.11e-07/0.856, allocations: 0 / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002673/0.8563, allocations: 27.72 kB / 1.093 GB, free: 1.699 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.0001599/0.8565, allocations: 125.7 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.8566, allocations: 21.52 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8566, allocations: 0 / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.8566, allocations: 13.47 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.8568, allocations: 9.594 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.8571, allocations: 119 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.961e-05/0.8572, allocations: 0.6767 MB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.8572, allocations: 7.141 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.8572, allocations: 10.27 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.8572, allocations: 0 / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of Templates: time 0.002535/0.8597, allocations: 0.5086 MB / 1.094 GB, free: 0.6836 MB / 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