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/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.001062/0.001062, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002496, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001043/0.001043, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002491, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9926/0.9926, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1181/1.111, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.542/2.542, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2701/2.812, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.836e-05, allocations: 8.359 kB / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001614/0.001632, allocations: 1.396 MB / 0.8197 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005953/0.002227, allocations: 0.5642 MB / 0.8203 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.237e-05/0.00224, allocations: 0 / 0.8203 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.802e-06/0.002247, allocations: 7.938 kB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.03e-05/0.002267, allocations: 7.984 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.002515, allocations: 143.3 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.478e-05/0.00256, allocations: 7.938 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.002593, allocations: 0 / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.002633, allocations: 11.98 kB / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.002673, allocations: 0 / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.00268, allocations: 0 / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.002956, allocations: 263.5 kB / 0.8207 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.002965, allocations: 4 kB / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.002976, allocations: 0 / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.003151, allocations: 127.6 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.003162, allocations: 0 / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003163, allocations: 0 / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.003176, allocations: 4 kB / 0.8208 GB, free: 296 kB / 0.7917 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.0002764/0.003452, allocations: 272.2 kB / 0.8211 GB, free: 16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.602e-05/0.003478, allocations: 8.625 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.63e-05/0.003494, allocations: 4.938 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.456e-05/0.003559, allocations: 101.8 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.003566, allocations: 4.375 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-06/0.003571, allocations: 4.375 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.156e-05/0.003623, allocations: 34.27 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.003628, allocations: 192 / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.003635, allocations: 12.3 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.003639, allocations: 384 / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.304e-05/0.003652, allocations: 3.938 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.02e-05/0.003723, allocations: 61.05 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.583e-05/0.003758, allocations: 22.59 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.00377, allocations: 12.92 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.003786, allocations: 0 / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.003804, allocations: 30.56 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.003804, allocations: 0 / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 6.383e-05/0.003868, allocations: 45.62 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.003893, allocations: 55.34 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.419e-05/0.003937, allocations: 102.7 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.003947, allocations: 25.7 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.003965, allocations: 80.14 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.003984, allocations: 4.203 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.004003, allocations: 21.7 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.004074, allocations: 314.8 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.004079, allocations: 4 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-06/0.004083, allocations: 0 / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.55e-05/0.004099, allocations: 12.8 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.0041, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 2.824e-05/0.004128, allocations: 37.69 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.004137, allocations: 4 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.004141, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.004147, allocations: 8.094 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.004241, allocations: 7.984 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002115/0.004452, allocations: 0.5898 MB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-06/0.004461, allocations: 0 / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-06/0.004464, allocations: 0 / 0.8226 GB, free: 14.25 MB / 0.8073 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 5.189e-05/0.004516, allocations: 109.8 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-06/0.004519, allocations: 0 / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.004576, allocations: 45.06 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004578, allocations: 7.938 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.004579, allocations: 0 / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004581, allocations: 0 / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.581e-05/0.004627, allocations: 61.91 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.004629, allocations: 3.984 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.004662, allocations: 4 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-06/0.004667, allocations: 7.953 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.004668, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-06/0.004671, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001673/0.004838, allocations: 0.5976 MB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.004839, allocations: 0 / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.411e-05/0.004873, allocations: 57.08 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-06/0.004879, allocations: 3.984 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-06/0.004885, allocations: 0 / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.004895, allocations: 11.88 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.004898, allocations: 4 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.902e-06/0.004905, allocations: 4.859 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004905, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001054/0.00501, allocations: 24.06 kB / 0.8235 GB, free: 13.24 MB / 0.8073 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.0001889/0.005199, allocations: 124.2 kB / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.584e-05/0.005265, allocations: 12.86 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.005267, allocations: 0 / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.005286, allocations: 16.84 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.936e-05/0.005335, allocations: 0 / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.005698, allocations: 112.8 kB / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.493e-05/0.005723, allocations: 55.36 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.005739, allocations: 0 / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.005763, allocations: 51.38 kB / 0.8239 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.005764, allocations: 0 / 0.8239 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of Templates: time 0.00165/0.007413, allocations: 0.6232 MB / 0.8245 GB, free: 12.22 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.ref.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.328721817582846]