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.001067/0.001067, allocations: 76.17 kB / 9.9 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002631, allocations: 445.7 kB / 10.34 MB, free: 364 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.001139/0.001139, allocations: 149.2 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002572, allocations: 471.6 kB / 11.68 MB, free: 2.488 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.9467/0.9467, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07827/1.025, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 1.837/1.837, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4645/2.302, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] 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 2.165e-06/2.165e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.166e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002545/0.002567, allocations: 1.373 MB / 0.7306 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.003459, allocations: 0.5779 MB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.003481, allocations: 0 / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.718e-06/0.00349, allocations: 7.938 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.742e-05/0.003518, allocations: 1.75 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.004008, allocations: 147.5 kB / 0.7313 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.004075, allocations: 17.03 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.004125, allocations: 1.438 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.004176, allocations: 7.984 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.004231, allocations: 4 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.004242, allocations: 0.6562 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.004784, allocations: 331.2 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.004795, allocations: 0.6875 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.004808, allocations: 4 kB / 0.7317 GB, free: 2.098 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.005065, allocations: 129.4 kB / 0.7318 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.005079, allocations: 0 / 0.7318 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.72e-07/0.00508, allocations: 0 / 0.7318 GB, free: 1.973 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.005097, allocations: 0 / 0.7318 GB, free: 1.973 MB / 0.698 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.0004083/0.005505, allocations: 269.4 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.005545, allocations: 12.03 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.005576, allocations: 0.9375 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.005673, allocations: 106.8 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.005683, allocations: 4.312 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.005693, allocations: 1.062 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.338e-05/0.005766, allocations: 34.25 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.005774, allocations: 1.062 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005783, allocations: 8.359 kB / 0.7322 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005789, allocations: 1.125 kB / 0.7322 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.346e-05/0.005803, allocations: 7.875 kB / 0.7322 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.572e-05/0.005899, allocations: 57.73 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.838e-05/0.005947, allocations: 24.45 kB / 0.7323 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.005962, allocations: 8.922 kB / 0.7323 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.005979, allocations: 0 / 0.7323 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.006007, allocations: 34.56 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.006008, allocations: 0 / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.734e-05/0.006106, allocations: 42.47 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.006133, allocations: 52.03 kB / 0.7324 GB, free: 1.219 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.006196, allocations: 103.8 kB / 0.7325 GB, free: 1.105 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.006209, allocations: 29.7 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.006234, allocations: 80.14 kB / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.006259, allocations: 8.672 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.006288, allocations: 13.7 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.00638, allocations: 319.3 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.006387, allocations: 0.9375 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-06/0.006393, allocations: 0 / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.006417, allocations: 13.73 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.006419, allocations: 3.938 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.159e-05/0.00647, allocations: 34.91 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.006486, allocations: 10.03 kB / 0.733 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.00649, allocations: 0 / 0.733 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.006499, allocations: 1.844 kB / 0.733 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.006629, allocations: 7.984 kB / 0.733 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003246/0.006954, allocations: 0.5898 MB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.006972, allocations: 1.562 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.006979, allocations: 4 kB / 0.7336 GB, free: 15.95 MB / 0.7136 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 6.147e-05/0.007041, allocations: 105.8 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-06/0.007047, allocations: 0.625 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.007133, allocations: 50.05 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007137, allocations: 7.875 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007139, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-06/0.007142, allocations: 0.6562 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.007151, allocations: 4.672 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.00716, allocations: 4 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.007173, allocations: 4.516 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.007184, allocations: 0 / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001308/0.007314, allocations: 126.8 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001184/0.007433, allocations: 215.8 kB / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.013e-05/0.007453, allocations: 8.859 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.368e-06/0.007462, allocations: 7.172 kB / 0.7341 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of Backend: time 2.6e-07/0.007463, allocations: 4 kB / 0.7341 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.007924, allocations: 148 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of SimCode: time 0.0004272/0.008352, allocations: 0.6008 MB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.003342/0.01169, allocations: 1.245 MB / 0.7361 GB, free: 13.44 MB / 0.7136 GB " [Timeout remaining time 300] 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: 4.679865160956979]