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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9585/0.9585, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.907/1.907, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.203e-05, allocations: 8.688 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00269/0.002722, allocations: 1.295 MB / 0.7884 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.0037, allocations: 0.5522 MB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.003732, allocations: 1.125 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.003755, allocations: 7.922 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.003802, allocations: 4 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006232/0.004425, allocations: 145.5 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.419e-05/0.004479, allocations: 11.88 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.00452, allocations: 0 / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.004551, allocations: 5.25 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.004595, allocations: 7.984 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.004608, allocations: 0 / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.004903, allocations: 267.4 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.004916, allocations: 1.562 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.004939, allocations: 7.984 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.005156, allocations: 151.5 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.005161, allocations: 0 / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/0.005162, allocations: 1.031 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005167, allocations: 0 / 0.7895 GB, free: 10.35 MB / 0.7448 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.0003334/0.0055, allocations: 377.6 kB / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.00554, allocations: 8.031 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.005581, allocations: 8.938 kB / 0.7899 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.005672, allocations: 108.9 kB / 0.79 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.005682, allocations: 1.781 kB / 0.79 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.005693, allocations: 8.375 kB / 0.79 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.849e-05/0.005772, allocations: 26.27 kB / 0.79 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-06/0.005777, allocations: 192 / 0.79 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.005785, allocations: 7.219 kB / 0.79 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.005792, allocations: 384 / 0.79 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.005809, allocations: 11.86 kB / 0.79 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.00593, allocations: 120.5 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.005977, allocations: 31.03 kB / 0.7902 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.006001, allocations: 11.75 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.00602, allocations: 0.7188 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.006046, allocations: 37.39 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.006047, allocations: 1.656 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.006199, allocations: 45.69 kB / 0.7903 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.006234, allocations: 55.34 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.006321, allocations: 159.1 kB / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.006332, allocations: 25.7 kB / 0.7905 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.006369, allocations: 126.9 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.006398, allocations: 13.69 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.00643, allocations: 19.38 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.006566, allocations: 492.1 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.006582, allocations: 4 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.006591, allocations: 1.188 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.006622, allocations: 15.69 kB / 0.7911 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.006624, allocations: 0 / 0.7911 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.051e-05/0.006695, allocations: 39.38 kB / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.006711, allocations: 11.94 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006717, allocations: 0 / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.00673, allocations: 0 / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.006898, allocations: 13.8 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004126/0.00731, allocations: 0.8932 MB / 0.7921 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.007331, allocations: 0 / 0.7921 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.007339, allocations: 4.781 kB / 0.7921 GB, free: 7.488 MB / 0.7448 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 7.608e-05/0.007415, allocations: 157.1 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.007425, allocations: 3.938 kB / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.00754, allocations: 49.66 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.007543, allocations: 0.5312 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.007546, allocations: 1.312 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007549, allocations: 0 / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.075e-05/0.00763, allocations: 112.6 kB / 0.7924 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007632, allocations: 0 / 0.7924 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.007711, allocations: 12.52 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.007714, allocations: 5.312 kB / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.007721, allocations: 3.938 kB / 0.7924 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000338/0.008059, allocations: 0.8944 MB / 0.7933 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.008061, allocations: 0 / 0.7933 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.949e-05/0.00814, allocations: 92.3 kB / 0.7934 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.008148, allocations: 0.8125 kB / 0.7934 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.008162, allocations: 4 kB / 0.7934 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.008175, allocations: 0.9375 kB / 0.7934 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.008193, allocations: 3.984 kB / 0.7934 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.0082, allocations: 5.344 kB / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.008239, allocations: 123.2 kB / 0.7935 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.008239, allocations: 0 / 0.7935 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002131/0.008452, allocations: 12.72 kB / 0.7935 GB, free: 5.922 MB / 0.7448 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.000185/0.008637, allocations: 109.1 kB / 0.7936 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.008811, allocations: 27.61 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008812, allocations: 0 / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/0.008874, allocations: 28.45 kB / 0.7937 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.009027, allocations: 3.938 kB / 0.7937 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.009371, allocations: 107.1 kB / 0.7938 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.009405, allocations: 51.36 kB / 0.7938 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.009424, allocations: 0 / 0.7938 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.009443, allocations: 12.5 kB / 0.7938 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.009444, allocations: 0 / 0.7938 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.002836/0.01228, allocations: 490.1 kB / 0.7943 GB, free: 5.082 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.21184973185882]