Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001905/0.001905, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002045/0.002045, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 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 1.61/1.61, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.105/3.105, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.797e-05, allocations: 7.062 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002377/0.002405, allocations: 1.292 MB / 0.8121 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.00349, allocations: 0.5518 MB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.00351, allocations: 1.375 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.003524, allocations: 0 / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/0.00357, allocations: 0 / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.004077, allocations: 141 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.267e-05/0.00412, allocations: 7.938 kB / 0.8128 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.004157, allocations: 7.984 kB / 0.8128 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.004196, allocations: 13.02 kB / 0.8128 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.004252, allocations: 0 / 0.8128 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.004266, allocations: 0 / 0.8128 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.00477, allocations: 276.4 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.004781, allocations: 0 / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.004796, allocations: 0 / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.005102, allocations: 160.4 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005104, allocations: 0 / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005105, allocations: 2.281 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.005108, allocations: 0 / 0.8132 GB, free: 15.7 MB / 0.7761 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.0005967/0.005705, allocations: 376 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.005741, allocations: 8.031 kB / 0.8136 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.005785, allocations: 4.938 kB / 0.8136 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.005897, allocations: 108.6 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.005909, allocations: 0.9062 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.005919, allocations: 5.094 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.006012, allocations: 34.25 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.006021, allocations: 0.6875 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.006028, allocations: 5.906 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.006032, allocations: 384 / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.006059, allocations: 7.938 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.006247, allocations: 108.6 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.785e-05/0.006314, allocations: 31.72 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.00634, allocations: 12.45 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.006367, allocations: 8.062 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.006399, allocations: 33.98 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.0064, allocations: 0 / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.00656, allocations: 42.19 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.006604, allocations: 56.09 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.006731, allocations: 162.7 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.006751, allocations: 25.7 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.006818, allocations: 131.8 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.006839, allocations: 7.891 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.00688, allocations: 24.59 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002612/0.007141, allocations: 492.1 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.007153, allocations: 0 / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.007166, allocations: 8.953 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.007202, allocations: 19.62 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007203, allocations: 2.25 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.977e-05/0.007273, allocations: 37.7 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.007285, allocations: 4 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.007288, allocations: 0 / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.0073, allocations: 0 / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.00745, allocations: 15.23 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/0.008083, allocations: 0.901 MB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.008103, allocations: 4 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.008108, allocations: 0 / 0.8158 GB, free: 12.83 MB / 0.7761 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.0001083/0.008217, allocations: 152.6 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.008231, allocations: 7.938 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.008343, allocations: 50.08 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.008345, allocations: 0 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.008348, allocations: 0 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.00835, allocations: 0.5 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.008462, allocations: 117.1 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.008465, allocations: 4.562 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.008545, allocations: 8 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008547, allocations: 1.625 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.00856, allocations: 11.92 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005912/0.009151, allocations: 0.901 MB / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.009152, allocations: 1.156 kB / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.853e-05/0.009251, allocations: 76.39 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.00926, allocations: 5.078 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.00927, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.009284, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.0093, allocations: 4.594 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.009305, allocations: 4 kB / 0.8171 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.009371, allocations: 120.1 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009371, allocations: 0 / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001847/0.009556, allocations: 13 kB / 0.8172 GB, free: 11.27 MB / 0.7761 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.0001686/0.009725, allocations: 112.2 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.009912, allocations: 28.8 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.009914, allocations: 0 / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.01002, allocations: 23.67 kB / 0.8174 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.01016, allocations: 6.656 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.01047, allocations: 111.4 kB / 0.8175 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.01053, allocations: 55.36 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.01055, allocations: 3.938 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.01056, allocations: 8.5 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of SimCode: time 4.3e-07/0.01056, allocations: 0 / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.003302/0.01387, allocations: 0.4979 MB / 0.818 GB, free: 10.42 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.343064395012334]