Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001074/0.001074, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009498/0.0009498, allocations: 169 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.9545/0.9545, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.895/1.895, allocations: 359 MB / 0.6055 GB, free: 11 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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.479e-05/3.757e-05, allocations: 3.078 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003023/0.00306, allocations: 1.309 MB / 0.7884 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.004148, allocations: 0.5564 MB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.004179, allocations: 0 / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.004203, allocations: 1.406 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.004255, allocations: 0 / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.004909, allocations: 152.3 kB / 0.7891 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.004975, allocations: 7.938 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.005025, allocations: 5.047 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.751e-05/0.005062, allocations: 4 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.005116, allocations: 4 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.005133, allocations: 1.219 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.005612, allocations: 267.4 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.005628, allocations: 0 / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.005652, allocations: 5.25 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.005965, allocations: 155.4 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.005972, allocations: 4 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005973, allocations: 1.594 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.005979, allocations: 0 / 0.7895 GB, free: 10.37 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.0004817/0.00646, allocations: 372 kB / 0.7898 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.006512, allocations: 11.97 kB / 0.7899 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.006559, allocations: 10.28 kB / 0.7899 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.00667, allocations: 105 kB / 0.79 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.006685, allocations: 8.375 kB / 0.79 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.006697, allocations: 4.375 kB / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.00679, allocations: 33.09 kB / 0.79 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.006798, allocations: 192 / 0.79 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.006808, allocations: 384 / 0.79 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.006819, allocations: 4.375 kB / 0.79 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.006843, allocations: 3.938 kB / 0.79 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.007, allocations: 120.5 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.32e-05/0.007063, allocations: 35.73 kB / 0.7902 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.007088, allocations: 11.75 kB / 0.7902 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.007109, allocations: 1.656 kB / 0.7902 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.007138, allocations: 41.38 kB / 0.7902 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.00714, allocations: 0 / 0.7902 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001671/0.007307, allocations: 38.86 kB / 0.7903 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.007345, allocations: 63.33 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.007436, allocations: 153.9 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.007449, allocations: 26.92 kB / 0.7905 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.007492, allocations: 134.9 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.00752, allocations: 3.953 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.007555, allocations: 21.12 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.0077, allocations: 496.1 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.007712, allocations: 0 / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.226e-05/0.007724, allocations: 4 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.007758, allocations: 16.88 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00776, allocations: 0 / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.605e-05/0.007836, allocations: 38.14 kB / 0.7912 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.007852, allocations: 5.688 kB / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.007857, allocations: 0 / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.007871, allocations: 4 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.008049, allocations: 11.98 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004746/0.008524, allocations: 0.895 MB / 0.7921 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.008551, allocations: 4 kB / 0.7921 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.008557, allocations: 0 / 0.7921 GB, free: 7.504 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 9.614e-05/0.008653, allocations: 161.3 kB / 0.7922 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.008664, allocations: 7.938 kB / 0.7922 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.008806, allocations: 45.48 kB / 0.7923 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.008809, allocations: 0.7188 kB / 0.7923 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.008815, allocations: 3.984 kB / 0.7923 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008818, allocations: 0.5312 kB / 0.7923 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.008919, allocations: 110 kB / 0.7924 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.008921, allocations: 0 / 0.7924 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.009017, allocations: 11.98 kB / 0.7924 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.009021, allocations: 0 / 0.7924 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.009031, allocations: 4.469 kB / 0.7924 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004041/0.009435, allocations: 0.8946 MB / 0.7933 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.009437, allocations: 3.938 kB / 0.7933 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.598e-05/0.009523, allocations: 81.19 kB / 0.7934 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.009531, allocations: 0 / 0.7934 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.009545, allocations: 4.938 kB / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.00956, allocations: 0 / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.00958, allocations: 9.344 kB / 0.7934 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.009584, allocations: 0 / 0.7934 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.009631, allocations: 119.2 kB / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.009631, allocations: 0.7812 kB / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000242/0.009873, allocations: 15.92 kB / 0.7935 GB, free: 5.945 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.0002057/0.01008, allocations: 109.1 kB / 0.7936 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.01027, allocations: 27.61 kB / 0.7936 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01027, allocations: 0 / 0.7936 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.01034, allocations: 28.45 kB / 0.7937 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.01052, allocations: 7.375 kB / 0.7937 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.0109, allocations: 106.4 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.01094, allocations: 55.3 kB / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.01096, allocations: 0 / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.01098, allocations: 8.5 kB / 0.7938 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of SimCode: time 1.011e-06/0.01099, allocations: 0.625 kB / 0.7938 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.003158/0.01414, allocations: 0.5035 MB / 0.7943 GB, free: 5.105 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.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.224420772865415]