Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008613/0.008613, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001709/0.001709, allocations: 196 kB / 16.68 MB, free: 5.934 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 60.11 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3531, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002432/0.3556, allocations: 1.249 MB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3566, allocations: 0.5876 MB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.3566, allocations: 4 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.3567, allocations: 3.984 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.3567, allocations: 0 / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.3573, allocations: 141.4 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.3573, allocations: 15.92 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.3574, allocations: 4 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.3574, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.3575, allocations: 7.938 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3575, allocations: 4 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005739/0.3581, allocations: 343.3 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3581, allocations: 0 / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.3581, allocations: 7.984 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.3585, allocations: 143.6 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3585, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3585, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3585, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004352/0.3589, allocations: 351.5 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.359, allocations: 12.62 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.359, allocations: 8.844 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3591, allocations: 160.4 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3592, allocations: 4.375 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.3592, allocations: 384 / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.3593, allocations: 34.25 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3593, allocations: 192 / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3593, allocations: 3.938 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.3593, allocations: 3.938 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.3594, allocations: 8 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.3596, allocations: 153.7 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.3596, allocations: 26.55 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.3597, allocations: 8.922 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3597, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3597, allocations: 30.56 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 3.126e-06/0.3597, allocations: 3.984 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.3599, allocations: 57.56 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3599, allocations: 51.41 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.36, allocations: 89.86 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.36, allocations: 29.7 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.3601, allocations: 88.08 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.3601, allocations: 3.906 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.3602, allocations: 13.72 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3603, allocations: 319.1 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.3603, allocations: 4 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.3603, allocations: 4 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.3604, allocations: 12.8 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3604, allocations: 0 / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.159e-05/0.3604, allocations: 37.7 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3605, allocations: 11.98 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3605, allocations: 3.938 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3605, allocations: 4.094 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3606, allocations: 8 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003587/0.361, allocations: 0.5821 MB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.361, allocations: 3.984 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.361, allocations: 0 / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.79e-05/0.3611, allocations: 117.9 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-06/0.3612, allocations: 0 / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3613, allocations: 48.72 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3613, allocations: 0 / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3613, allocations: 0 / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3613, allocations: 0 / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3614, allocations: 157.6 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3614, allocations: 0 / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.3615, allocations: 11.98 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3615, allocations: 0 / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3615, allocations: 4.031 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003026/0.3618, allocations: 0.5859 MB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3618, allocations: 3.938 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.946e-05/0.3619, allocations: 65.16 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.362, allocations: 77.23 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.362, allocations: 8 kB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.362, allocations: 4 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.362, allocations: 11.92 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.362, allocations: 0 / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.3621, allocations: 79.22 kB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3621, allocations: 0 / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001891/0.3623, allocations: 8 kB / 1.213 GB, free: 3.469 MB / 0.9669 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.3625, allocations: 115.3 kB / 1.213 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.3626, allocations: 19.98 kB / 1.213 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3626, allocations: 0 / 1.213 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.3627, allocations: 15.98 kB / 1.213 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.3629, allocations: 3.938 kB / 1.213 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.3632, allocations: 114.5 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3635, allocations: 0.6807 MB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.454e-05/0.3635, allocations: 0 / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.3635, allocations: 7.438 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3635, allocations: 0 / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of Templates: time 0.002734/0.3663, allocations: 455.2 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches