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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.45/2.45, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 180.2 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 221.3 MB / 0.7915 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 87.94 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.338e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3306, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.372, allocations: 150.5 MB / 1.366 GB, free: 3.586 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.372, allocations: 74.95 kB / 1.366 GB, free: 3.543 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007167/1.38, allocations: 2.305 MB / 1.368 GB, free: 1.566 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.814e-06/1.38, allocations: 4 kB / 1.368 GB, free: 1.562 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.376e-06/1.38, allocations: 0 / 1.368 GB, free: 1.562 MB / 0.823 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.0002966/1.38, allocations: 330.4 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.38, allocations: 16.02 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/1.38, allocations: 7.141 kB / 1.368 GB, free: 1.176 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.38, allocations: 159.1 kB / 1.369 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/1.38, allocations: 0 / 1.369 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/1.38, allocations: 4 kB / 1.369 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/1.38, allocations: 29.7 kB / 1.369 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.38, allocations: 0 / 1.369 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/1.38, allocations: 8 kB / 1.369 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.38, allocations: 0 / 1.369 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/1.38, allocations: 7.625 kB / 1.369 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/1.381, allocations: 157.6 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.665e-05/1.381, allocations: 29.98 kB / 1.369 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/1.381, allocations: 4.859 kB / 1.369 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/1.381, allocations: 4 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/1.381, allocations: 34.62 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.704e-06/1.381, allocations: 0 / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001273/1.381, allocations: 40.88 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.381, allocations: 51.41 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.599e-05/1.381, allocations: 88.94 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/1.381, allocations: 32.61 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/1.381, allocations: 84.14 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/1.381, allocations: 4.531 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/1.381, allocations: 0 / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.381, allocations: 317.7 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/1.381, allocations: 7.984 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/1.381, allocations: 0 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.59e-05/1.381, allocations: 4 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.381, allocations: 64 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.522e-05/1.381, allocations: 44.58 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.381, allocations: 4 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.381, allocations: 0 / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.381, allocations: 4 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.382, allocations: 7.984 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003667/1.382, allocations: 0.5924 MB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/1.382, allocations: 7.125 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/1.382, allocations: 0 / 1.37 GB, free: 15.3 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/1.382, allocations: 102 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/1.382, allocations: 4.031 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/1.382, allocations: 47.5 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/1.382, allocations: 3.984 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.382, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.382, allocations: 3.953 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.69e-05/1.382, allocations: 157 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.382, allocations: 0 / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/1.382, allocations: 11.98 kB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.382, allocations: 0 / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/1.382, allocations: 3.938 kB / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/1.383, allocations: 0.5821 MB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.383, allocations: 4.031 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.601e-05/1.383, allocations: 72.09 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/1.383, allocations: 81.02 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/1.383, allocations: 0 / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/1.383, allocations: 3.953 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/1.383, allocations: 4 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/1.383, allocations: 0 / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.025e-05/1.383, allocations: 75.28 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.383, allocations: 4.125 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001816/1.383, allocations: 8 kB / 1.371 GB, free: 14.04 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001862/1.383, allocations: 115.2 kB / 1.371 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001551/1.384, allocations: 19.55 kB / 1.371 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.384, allocations: 4 kB / 1.371 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/1.384, allocations: 15.94 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.859e-05/1.384, allocations: 4.062 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/1.384, allocations: 60.86 kB / 1.371 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/1.384, allocations: 0.677 MB / 1.372 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.715e-05/1.384, allocations: 0 / 1.372 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/1.384, allocations: 7.438 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.384, allocations: 0 / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.002448/1.387, allocations: 426.1 kB / 1.372 GB, free: 12.71 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches