Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_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_9_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.001237/0.001237, allocations: 103 kB / 16.4 MB, free: 6.461 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.001132/0.001132, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.504/1.504, 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 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8658, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001922/0.8678, allocations: 1.258 MB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.8686, allocations: 0.5887 MB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.8687, allocations: 4 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.8687, allocations: 0.5625 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.8687, allocations: 1.281 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.8692, allocations: 138.6 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.8692, allocations: 13.53 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.8693, allocations: 3.047 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.8693, allocations: 10.48 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.8693, allocations: 3.578 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.8694, allocations: 4.844 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.8699, allocations: 340.7 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.8699, allocations: 0.7031 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.8699, allocations: 10.73 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.8702, allocations: 138.6 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8702, allocations: 1.031 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8702, allocations: 0 / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8702, allocations: 0 / 1.091 GB, free: 4.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003065/0.8705, allocations: 350.4 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.8706, allocations: 9.594 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.8706, allocations: 6.094 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.519e-05/0.8707, allocations: 163 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8707, allocations: 1.688 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.8707, allocations: 384 / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.8708, allocations: 35.36 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.8708, allocations: 192 / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.8708, allocations: 5.719 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8708, allocations: 0 / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.8708, allocations: 7.75 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.8709, allocations: 159 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.871, allocations: 20.53 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.871, allocations: 7.469 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.871, allocations: 1.578 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.8711, allocations: 36.14 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.8711, allocations: 0 / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00012/0.8712, allocations: 52.31 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.8712, allocations: 53.14 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.8713, allocations: 97.72 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.8713, allocations: 26.86 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.139e-05/0.8713, allocations: 80.14 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.8713, allocations: 5.797 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.8713, allocations: 16.67 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.8714, allocations: 321 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.8714, allocations: 2.625 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.8714, allocations: 1.859 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.8714, allocations: 15.28 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8714, allocations: 0 / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.988e-05/0.8715, allocations: 43.3 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.8715, allocations: 5.766 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8715, allocations: 9.344 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.8715, allocations: 4.094 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.8717, allocations: 10.83 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002096/0.8719, allocations: 0.583 MB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.8719, allocations: 0.875 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.8719, allocations: 5.141 kB / 1.093 GB, free: 1.805 MB / 0.8575 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 4.872e-05/0.872, allocations: 119.5 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.872, allocations: 5.062 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.8721, allocations: 44.36 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8721, allocations: 1.031 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8721, allocations: 0.7969 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.8721, allocations: 0 / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.41e-05/0.8722, allocations: 151.9 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.8722, allocations: 0 / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.8723, allocations: 10.58 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8723, allocations: 0.5156 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.8723, allocations: 4.031 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001618/0.8724, allocations: 0.5918 MB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8724, allocations: 3.938 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.122e-05/0.8725, allocations: 61.64 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.8725, allocations: 82.78 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.8725, allocations: 0.6875 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.8726, allocations: 1.641 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.8726, allocations: 4.688 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.8726, allocations: 1.328 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.577e-05/0.8726, allocations: 77.59 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8726, allocations: 0.7812 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001833/0.8728, allocations: 11.89 kB / 1.094 GB, free: 0.5938 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 (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.0001315/0.8729, allocations: 114.5 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.8731, allocations: 20.23 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8731, allocations: 0 / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.8732, allocations: 13.75 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.8733, allocations: 3.297 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.8736, allocations: 143.1 kB / 1.095 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.8739, allocations: 0.6781 MB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.8739, allocations: 8.812 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.8739, allocations: 0 / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of Templates: time 0.002384/0.8763, allocations: 0.6995 MB / 1.096 GB, free: 15.6 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches