Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_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_9_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.00114/0.00114, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001153/0.001153, allocations: 192.3 kB / 17.35 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.177/2.177, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.14 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7775, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001892/0.7794, allocations: 1.256 MB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.7802, allocations: 0.5958 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.7802, allocations: 3.938 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.7803, allocations: 0.6562 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.611e-05/0.7803, allocations: 1.125 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.7808, allocations: 138.8 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.7808, allocations: 8.984 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.7809, allocations: 11.08 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.7809, allocations: 6.531 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.7809, allocations: 7.578 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.7809, allocations: 0.8125 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.7815, allocations: 340.4 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.7815, allocations: 5.594 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.7815, allocations: 6.062 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.7817, allocations: 138.9 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.7818, allocations: 1.562 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7818, allocations: 0 / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.7818, allocations: 0 / 1.091 GB, free: 4.008 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.0002724/0.7821, allocations: 350.2 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.7821, allocations: 9.25 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.7821, allocations: 2.031 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.69e-05/0.7822, allocations: 165.9 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.7822, allocations: 1.562 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.7822, allocations: 1.5 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.766e-05/0.7823, allocations: 31.52 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.7823, allocations: 192 / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.7823, allocations: 12.62 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.7823, allocations: 0 / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.7823, allocations: 8.781 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.873e-05/0.7825, allocations: 150.7 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/0.7825, allocations: 24.88 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.7825, allocations: 7.219 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.7825, allocations: 1.5 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.7826, allocations: 35.12 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.7826, allocations: 0 / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001169/0.7827, allocations: 54.12 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.329e-05/0.7827, allocations: 51.41 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/0.7827, allocations: 94.58 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.7828, allocations: 25.7 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.135e-05/0.7828, allocations: 81.23 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.7828, allocations: 10.14 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.7828, allocations: 16.83 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.7829, allocations: 312.7 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.7829, allocations: 1.156 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.7829, allocations: 6.875 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.7829, allocations: 14.38 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7829, allocations: 1.156 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.174e-05/0.783, allocations: 47.77 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.783, allocations: 9.469 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.783, allocations: 0.7969 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.783, allocations: 3.938 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.7832, allocations: 14.97 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002101/0.7834, allocations: 0.5786 MB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.7834, allocations: 4.906 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.7834, allocations: 1.125 kB / 1.093 GB, free: 1.797 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.23e-05/0.7835, allocations: 119.5 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-06/0.7835, allocations: 2.531 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.465e-05/0.7836, allocations: 43.91 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7836, allocations: 0 / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7836, allocations: 0.7969 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.7836, allocations: 77.98 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.7836, allocations: 1.406 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.7836, allocations: 5.594 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.7837, allocations: 9 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001411/0.7838, allocations: 129 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.389e-05/0.7839, allocations: 219.5 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.775e-05/0.7839, allocations: 3.672 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.354e-05/0.7839, allocations: 81.83 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of Backend: time 2.8e-07/0.7839, allocations: 0 / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005415/0.7845, allocations: 160.3 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003382/0.7848, allocations: 0.5583 MB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.003338/0.7882, allocations: 1.111 MB / 1.096 GB, free: 16.31 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches