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.001783/0.001783, allocations: 112 kB / 16.41 MB, free: 6.477 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.001582/0.001582, allocations: 183 kB / 17.34 MB, free: 5.754 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 72.09 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7975/0.799, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002767/0.8018, allocations: 1.256 MB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.803, allocations: 0.5954 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.8031, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.8031, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.8032, allocations: 4 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.8039, allocations: 139.4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.456e-05/0.8039, allocations: 7.938 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.804, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.804, allocations: 3.984 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.8041, allocations: 11.98 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.8041, allocations: 3.938 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.8047, allocations: 339.3 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.8047, allocations: 8 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.8047, allocations: 3.984 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.805, allocations: 135.6 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8051, allocations: 3.938 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8051, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8051, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 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.0004521/0.8055, allocations: 345.3 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.8056, allocations: 12.03 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.8056, allocations: 0.9375 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.8058, allocations: 172.3 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.8058, allocations: 4.375 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.8058, allocations: 4.375 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.8059, allocations: 26.27 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.8059, allocations: 192 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.8059, allocations: 7.938 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8059, allocations: 0 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.806, allocations: 0 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.8062, allocations: 161.6 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.8062, allocations: 18.61 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.8062, allocations: 12.92 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.8063, allocations: 3.984 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.8063, allocations: 34.56 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.8063, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001608/0.8065, allocations: 45.58 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.8065, allocations: 55.53 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.8066, allocations: 93.86 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.8066, allocations: 33.62 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.8067, allocations: 84.08 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.8067, allocations: 7.844 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.8068, allocations: 17.72 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8069, allocations: 310.8 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.8069, allocations: 8.125 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-06/0.8069, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.8069, allocations: 16.84 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.807, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.596e-05/0.807, allocations: 41.64 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.8071, allocations: 6.188 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8071, allocations: 3.938 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8071, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.8073, allocations: 15.98 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.8077, allocations: 0.5822 MB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.8077, allocations: 0 / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.8077, allocations: 4.031 kB / 1.213 GB, free: 8.754 MB / 0.9356 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.999e-05/0.8078, allocations: 109.8 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.8078, allocations: 3.984 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.8079, allocations: 52.84 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.808, allocations: 4 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.808, allocations: 0 / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.808, allocations: 4 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.8081, allocations: 153.6 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8081, allocations: 0 / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.8082, allocations: 11.98 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8082, allocations: 0 / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.8082, allocations: 4 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003445/0.8086, allocations: 0.5898 MB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8086, allocations: 3.938 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.547e-05/0.8087, allocations: 61.16 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.8087, allocations: 77.11 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.8087, allocations: 4 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.8088, allocations: 4.125 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.8088, allocations: 3.938 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.8088, allocations: 0 / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.8089, allocations: 87.22 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8089, allocations: 0 / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001968/0.8091, allocations: 8 kB / 1.214 GB, free: 7.457 MB / 0.9356 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.0001784/0.8092, allocations: 107.2 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.8094, allocations: 28.02 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8094, allocations: 0 / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.8095, allocations: 15.98 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.8097, allocations: 7.938 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.8101, allocations: 135.6 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.8105, allocations: 0.669 MB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.8105, allocations: 15.56 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.8105, allocations: 0 / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of Templates: time 0.002477/0.813, allocations: 0.6982 MB / 1.216 GB, free: 5.719 MB / 0.9356 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/jenkins1/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