Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 110.2 kB / 16.42 MB, free: 5.551 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.002202/0.002202, allocations: 187.7 kB / 17.34 MB, free: 5.211 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.694/2.694, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.876/4.876, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.00255, allocations: 59.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453/1.455, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003259/1.458, allocations: 1.253 MB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001414/1.46, allocations: 0.5955 MB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/1.46, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/1.46, allocations: 4 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/1.46, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/1.461, allocations: 142.9 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/1.461, allocations: 15.92 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/1.461, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/1.461, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/1.461, allocations: 3.984 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/1.461, allocations: 4 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008944/1.462, allocations: 347.2 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/1.462, allocations: 0 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/1.462, allocations: 4 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004334/1.463, allocations: 135.5 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/1.463, allocations: 4 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.435e-06/1.463, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.742e-06/1.463, allocations: 4 kB / 1.211 GB, free: 11.12 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.0006516/1.464, allocations: 349.3 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/1.464, allocations: 8.031 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/1.464, allocations: 0.9375 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/1.464, allocations: 168.3 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/1.464, allocations: 4.375 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/1.464, allocations: 384 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/1.464, allocations: 38.2 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.464, allocations: 8.125 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/1.464, allocations: 3.938 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.464, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/1.464, allocations: 4 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/1.465, allocations: 149.7 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.093e-05/1.465, allocations: 22.61 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/1.465, allocations: 4.859 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/1.465, allocations: 3.984 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/1.465, allocations: 38.62 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/1.465, allocations: 3.938 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002364/1.465, allocations: 45.62 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.465, allocations: 51.41 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.465, allocations: 97.86 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/1.465, allocations: 25.7 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/1.465, allocations: 84.33 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/1.466, allocations: 15.83 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/1.466, allocations: 13.72 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.466, allocations: 314.8 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/1.466, allocations: 4 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/1.466, allocations: 0 / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/1.466, allocations: 20.8 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.466, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/1.466, allocations: 41.75 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.466, allocations: 4 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.466, allocations: 0 / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.466, allocations: 3.938 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/1.466, allocations: 11.98 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006047/1.467, allocations: 0.5821 MB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/1.467, allocations: 4.031 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/1.467, allocations: 4.125 kB / 1.213 GB, free: 8.773 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 0.0001821/1.467, allocations: 113.8 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/1.467, allocations: 0 / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/1.468, allocations: 44.81 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.468, allocations: 4 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.468, allocations: 4 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/1.468, allocations: 81.02 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/1.468, allocations: 32 / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.484e-05/1.468, allocations: 4 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/1.468, allocations: 3.938 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003224/1.468, allocations: 141.7 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002491/1.468, allocations: 210.8 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.426e-05/1.468, allocations: 12.16 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.647e-05/1.469, allocations: 79.22 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of Backend: time 7.61e-07/1.469, allocations: 3.938 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001091/1.47, allocations: 159.9 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000808/1.471, allocations: 0.5539 MB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of Templates: time 0.005911/1.476, allocations: 1.106 MB / 1.215 GB, free: 6.184 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches