Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.002266/0.002266, allocations: 108.3 kB / 19.73 MB, free: 412 kB / 13.93 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.002022/0.002022, allocations: 216.5 kB / 23.03 MB, free: 2.938 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 1.716/1.716, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 3.334/3.334, allocations: 0.4898 GB / 0.7957 GB, free: 2.305 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00389/0.00389, allocations: 83.88 kB / 1.155 GB, free: 152 kB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9503/0.9542, allocations: 176.2 MB / 1.327 GB, free: 9.371 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.00283/0.9571, allocations: 1.284 MB / 1.329 GB, free: 8.082 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.9582, allocations: 0.5423 MB / 1.329 GB, free: 7.539 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.9582, allocations: 0 / 1.329 GB, free: 7.539 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.9583, allocations: 3.938 kB / 1.329 GB, free: 7.535 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.9583, allocations: 4 kB / 1.329 GB, free: 7.531 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.9589, allocations: 152.5 kB / 1.329 GB, free: 7.383 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 5.518e-05/0.9589, allocations: 11.88 kB / 1.329 GB, free: 7.371 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.959, allocations: 8 kB / 1.329 GB, free: 7.363 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.959, allocations: 7.984 kB / 1.329 GB, free: 7.355 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.9591, allocations: 4 kB / 1.329 GB, free: 7.352 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.9591, allocations: 0 / 1.329 GB, free: 7.352 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.9596, allocations: 311.4 kB / 1.33 GB, free: 7.047 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.9596, allocations: 3.938 kB / 1.33 GB, free: 7.043 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.9597, allocations: 7.922 kB / 1.33 GB, free: 7.035 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.9599, allocations: 134.5 kB / 1.33 GB, free: 6.906 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9599, allocations: 0 / 1.33 GB, free: 6.906 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.454e-06/0.9599, allocations: 0 / 1.33 GB, free: 6.906 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.96, allocations: 0 / 1.33 GB, free: 6.906 MB / 1.01 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.0004694/0.9604, allocations: 293.9 kB / 1.33 GB, free: 6.586 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.9605, allocations: 8.031 kB / 1.33 GB, free: 6.578 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.9605, allocations: 4.938 kB / 1.33 GB, free: 6.574 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.9606, allocations: 110.5 kB / 1.33 GB, free: 6.441 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.9606, allocations: 384 / 1.33 GB, free: 6.441 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.9607, allocations: 384 / 1.33 GB, free: 6.441 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.9608, allocations: 34.25 kB / 1.33 GB, free: 6.402 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9608, allocations: 192 / 1.33 GB, free: 6.402 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.9608, allocations: 3.938 kB / 1.33 GB, free: 6.398 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.9608, allocations: 4 kB / 1.33 GB, free: 6.395 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.9608, allocations: 8 kB / 1.33 GB, free: 6.387 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.961, allocations: 101.3 kB / 1.33 GB, free: 6.258 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 6.505e-05/0.961, allocations: 22.61 kB / 1.33 GB, free: 6.227 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.9611, allocations: 12.91 kB / 1.33 GB, free: 6.211 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.9611, allocations: 0 / 1.33 GB, free: 6.211 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.9611, allocations: 34.56 kB / 1.33 GB, free: 6.168 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.9611, allocations: 0 / 1.33 GB, free: 6.168 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.9613, allocations: 45.58 kB / 1.33 GB, free: 6.117 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.9613, allocations: 51.41 kB / 1.33 GB, free: 6.055 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.9614, allocations: 102 kB / 1.33 GB, free: 5.945 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.9614, allocations: 25.7 kB / 1.33 GB, free: 5.914 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.9615, allocations: 80.14 kB / 1.331 GB, free: 5.832 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.9615, allocations: 7.953 kB / 1.331 GB, free: 5.824 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.9615, allocations: 13.72 kB / 1.331 GB, free: 5.805 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.9617, allocations: 310.8 kB / 1.331 GB, free: 5.492 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.9617, allocations: 4 kB / 1.331 GB, free: 5.488 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.9617, allocations: 4 kB / 1.331 GB, free: 5.484 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.9618, allocations: 16.84 kB / 1.331 GB, free: 5.465 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9618, allocations: 4.188 kB / 1.331 GB, free: 5.461 MB / 1.01 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.665e-05/0.9618, allocations: 45.59 kB / 1.331 GB, free: 5.41 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.9618, allocations: 4 kB / 1.331 GB, free: 5.406 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.9618, allocations: 3.984 kB / 1.331 GB, free: 5.402 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9619, allocations: 7.875 kB / 1.331 GB, free: 5.395 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.962, allocations: 11.98 kB / 1.331 GB, free: 5.383 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004701/0.9625, allocations: 0.5821 MB / 1.332 GB, free: 4.777 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.9625, allocations: 0 / 1.332 GB, free: 4.777 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.9625, allocations: 3.938 kB / 1.332 GB, free: 4.773 MB / 1.01 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.846e-05/0.9626, allocations: 120 kB / 1.332 GB, free: 4.648 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.9626, allocations: 0 / 1.332 GB, free: 4.648 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.9627, allocations: 48.94 kB / 1.332 GB, free: 4.594 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9627, allocations: 0 / 1.332 GB, free: 4.594 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9627, allocations: 0 / 1.332 GB, free: 4.594 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.9627, allocations: 0 / 1.332 GB, free: 4.594 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.871e-05/0.9628, allocations: 105.3 kB / 1.332 GB, free: 4.461 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9628, allocations: 3.938 kB / 1.332 GB, free: 4.457 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.9629, allocations: 8 kB / 1.332 GB, free: 4.449 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.9629, allocations: 4.031 kB / 1.332 GB, free: 4.445 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.9629, allocations: 4 kB / 1.332 GB, free: 4.441 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003923/0.9633, allocations: 0.5899 MB / 1.332 GB, free: 3.828 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9633, allocations: 0 / 1.332 GB, free: 3.828 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.12e-05/0.9634, allocations: 65.06 kB / 1.332 GB, free: 3.746 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.9634, allocations: 4 kB / 1.332 GB, free: 3.742 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.9634, allocations: 3.984 kB / 1.332 GB, free: 3.738 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.9634, allocations: 0 / 1.332 GB, free: 3.738 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.9635, allocations: 0 / 1.332 GB, free: 3.738 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.9635, allocations: 4.125 kB / 1.332 GB, free: 3.734 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.9635, allocations: 83.28 kB / 1.333 GB, free: 3.652 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.9635, allocations: 0 / 1.333 GB, free: 3.652 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001905/0.9637, allocations: 19.88 kB / 1.333 GB, free: 3.633 MB / 1.01 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.0002029/0.9639, allocations: 115.1 kB / 1.333 GB, free: 3.508 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.9641, allocations: 23.92 kB / 1.333 GB, free: 3.484 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9641, allocations: 0 / 1.333 GB, free: 3.484 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.9642, allocations: 20.14 kB / 1.333 GB, free: 3.465 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.9643, allocations: 6.062 kB / 1.333 GB, free: 3.461 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.9647, allocations: 106.1 kB / 1.333 GB, free: 3.328 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.048e-05/0.9647, allocations: 55.36 kB / 1.333 GB, free: 3.254 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.9647, allocations: 0 / 1.333 GB, free: 3.254 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.9648, allocations: 7.438 kB / 1.333 GB, free: 3.246 MB / 1.01 GB Notification: Performance of SimCode: time 5.31e-07/0.9648, allocations: 0 / 1.333 GB, free: 3.246 MB / 1.01 GB Notification: Performance of Templates: time 0.003437/0.9682, allocations: 0.558 MB / 1.333 GB, free: 2.73 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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: 10.50460791401565]