Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001898/0.001898, allocations: 121.4 kB / 16.82 MB, free: 5.754 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.002065/0.002065, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.475/1.475, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 69.12 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2919, allocations: 168.7 MB / 1.262 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002339/0.2942, allocations: 1.254 MB / 1.263 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.2952, allocations: 0.5881 MB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.2953, allocations: 3.938 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.2953, allocations: 7.938 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.2953, allocations: 0 / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.2958, allocations: 145.9 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.2959, allocations: 7.938 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.2959, allocations: 4 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.2959, allocations: 4 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.296, allocations: 7.984 kB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.639e-06/0.296, allocations: 0 / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.2965, allocations: 343.3 kB / 1.264 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.2965, allocations: 11.94 kB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.2965, allocations: 0 / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.2968, allocations: 139.6 kB / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2968, allocations: 0 / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2968, allocations: 3.938 kB / 1.264 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2968, allocations: 0 / 1.264 GB, free: 10.38 MB / 0.9825 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.00045/0.2973, allocations: 355.1 kB / 1.265 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2973, allocations: 8.031 kB / 1.265 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.2973, allocations: 4.938 kB / 1.265 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2975, allocations: 168.4 kB / 1.265 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.2975, allocations: 384 / 1.265 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.2975, allocations: 384 / 1.265 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.2976, allocations: 30.27 kB / 1.265 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2976, allocations: 192 / 1.265 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2976, allocations: 7.875 kB / 1.265 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2976, allocations: 0 / 1.265 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.2976, allocations: 4 kB / 1.265 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.2978, allocations: 157.7 kB / 1.265 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.05e-05/0.2978, allocations: 30.55 kB / 1.265 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.2978, allocations: 8.922 kB / 1.265 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2979, allocations: 0 / 1.265 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2979, allocations: 30.56 kB / 1.265 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2979, allocations: 0 / 1.265 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.298, allocations: 53.52 kB / 1.265 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.2981, allocations: 59.53 kB / 1.265 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.338e-05/0.2981, allocations: 89.86 kB / 1.265 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2982, allocations: 25.7 kB / 1.265 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.2982, allocations: 84.14 kB / 1.266 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2982, allocations: 7.984 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.2982, allocations: 9.719 kB / 1.266 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2984, allocations: 318.8 kB / 1.266 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.2984, allocations: 4.125 kB / 1.266 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.2984, allocations: 8 kB / 1.266 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.2984, allocations: 8.859 kB / 1.266 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2984, allocations: 0 / 1.266 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.791e-05/0.2985, allocations: 49.58 kB / 1.266 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2985, allocations: 6.031 kB / 1.266 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2985, allocations: 4 kB / 1.266 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2985, allocations: 3.938 kB / 1.266 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2987, allocations: 11.98 kB / 1.266 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003837/0.2991, allocations: 0.5822 MB / 1.267 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.2991, allocations: 0 / 1.267 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.2991, allocations: 0 / 1.267 GB, free: 8.035 MB / 0.9825 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.57e-05/0.2992, allocations: 110.6 kB / 1.267 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.2992, allocations: 4.031 kB / 1.267 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.2993, allocations: 52.84 kB / 1.267 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2993, allocations: 0 / 1.267 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2993, allocations: 0 / 1.267 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.2993, allocations: 77.11 kB / 1.267 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.2993, allocations: 0 / 1.267 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.879e-05/0.2994, allocations: 8 kB / 1.267 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.2994, allocations: 11.92 kB / 1.267 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001854/0.2996, allocations: 133.8 kB / 1.267 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001543/0.2997, allocations: 222.8 kB / 1.267 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.697e-05/0.2997, allocations: 0 / 1.267 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.2998, allocations: 79.28 kB / 1.267 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of Backend: time 2.8e-07/0.2998, allocations: 3.938 kB / 1.267 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005895/0.3004, allocations: 161 kB / 1.267 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005551/0.3009, allocations: 0.5653 MB / 1.268 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of Templates: time 0.003773/0.3047, allocations: 1.109 MB / 1.269 GB, free: 5.406 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches