Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_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_10_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.001315/0.001315, allocations: 104.9 kB / 16.4 MB, free: 6.504 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.001286/0.001286, allocations: 188 kB / 17.34 MB, free: 5.738 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.457/1.457, 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 2.687/2.687, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002372, allocations: 56.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8614, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002442/0.8639, allocations: 1.261 MB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.8649, allocations: 0.5901 MB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.8649, allocations: 0 / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.865, allocations: 4 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.865, allocations: 3.938 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.8655, allocations: 132.8 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.8656, allocations: 15.91 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.8657, allocations: 4 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.785e-05/0.8657, allocations: 0 / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.8657, allocations: 8 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.8658, allocations: 3.938 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/0.8663, allocations: 343.3 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.8663, allocations: 7.984 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.8664, allocations: 0 / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.8667, allocations: 148.1 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.8667, allocations: 0 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8667, allocations: 0 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.8667, allocations: 0 / 1.17 GB, free: 1.316 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004845/0.8672, allocations: 355.1 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8672, allocations: 12.92 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.8673, allocations: 0.9375 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.8674, allocations: 168.4 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.8674, allocations: 384 / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.8674, allocations: 384 / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.8676, allocations: 38.19 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8676, allocations: 192 / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8676, allocations: 3.938 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.8676, allocations: 4 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.432e-05/0.8676, allocations: 0 / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.8678, allocations: 157.6 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.455e-05/0.8679, allocations: 26.59 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.8679, allocations: 8.922 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.8679, allocations: 0 / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.868, allocations: 34.5 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.868, allocations: 0 / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.8681, allocations: 45.64 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.8682, allocations: 59.52 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.8683, allocations: 93.86 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.8683, allocations: 29.64 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.8684, allocations: 80.14 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.8684, allocations: 7.953 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.8684, allocations: 13.72 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.8686, allocations: 310.8 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.8686, allocations: 8.109 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.8686, allocations: 7.938 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.8687, allocations: 12.86 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8687, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.422e-05/0.8688, allocations: 41.66 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.8688, allocations: 8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8688, allocations: 3.938 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.8688, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.869, allocations: 11.98 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004578/0.8694, allocations: 0.5861 MB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.8695, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.8695, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 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 8.961e-05/0.8696, allocations: 117.8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.8696, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.8697, allocations: 44.92 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.8697, allocations: 3.984 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8697, allocations: 0 / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.8698, allocations: 7.922 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.8699, allocations: 153.6 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8699, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.87, allocations: 15.92 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.87, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.87, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/0.8704, allocations: 0.59 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8704, allocations: 3.938 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.197e-05/0.8705, allocations: 65.06 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.8706, allocations: 77.11 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.8706, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.8706, allocations: 8.125 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.8706, allocations: 3.938 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.8706, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.8707, allocations: 87.2 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8707, allocations: 4 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001896/0.8709, allocations: 7.938 kB / 1.173 GB, free: 13.66 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 (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.0001879/0.8711, allocations: 115.2 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.8712, allocations: 20.09 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8712, allocations: 0 / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.8713, allocations: 19.92 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.8715, allocations: 7.938 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.8718, allocations: 94.03 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.8721, allocations: 0.6768 MB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.8721, allocations: 4.125 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.8722, allocations: 7.438 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.8722, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of Templates: time 0.002885/0.8751, allocations: 451.8 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches