Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 111.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002985/0.002985, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.726/2.726, allocations: 437.1 MB / 0.7178 GB, free: 4.543 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.88 kB / 1.028 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3145, allocations: 151.6 MB / 1.176 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002478/0.3171, allocations: 1.251 MB / 1.177 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3181, allocations: 0.5881 MB / 1.178 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.3182, allocations: 0 / 1.178 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.3182, allocations: 3.984 kB / 1.178 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.3183, allocations: 7.922 kB / 1.178 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.3188, allocations: 139.4 kB / 1.178 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.3189, allocations: 4 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.3189, allocations: 4 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.3189, allocations: 4 kB / 1.178 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.319, allocations: 4 kB / 1.178 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.319, allocations: 3.938 kB / 1.178 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.3195, allocations: 343.3 kB / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.3196, allocations: 3.984 kB / 1.178 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.3196, allocations: 8 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3199, allocations: 143.5 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3199, allocations: 0 / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3199, allocations: 3.938 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3199, allocations: 0 / 1.178 GB, free: 3.527 MB / 0.92 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.0004659/0.3204, allocations: 359.1 kB / 1.179 GB, free: 3.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3204, allocations: 8.031 kB / 1.179 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.3204, allocations: 4.938 kB / 1.179 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3206, allocations: 164.4 kB / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3206, allocations: 384 / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.3206, allocations: 384 / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3207, allocations: 42.19 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3207, allocations: 192 / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3208, allocations: 7.938 kB / 1.179 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3208, allocations: 0 / 1.179 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.3208, allocations: 4 kB / 1.179 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.321, allocations: 153.7 kB / 1.179 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.688e-05/0.321, allocations: 18.58 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.3211, allocations: 8.922 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3211, allocations: 0 / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3211, allocations: 42.5 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3211, allocations: 0 / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000168/0.3213, allocations: 45.61 kB / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.3214, allocations: 55.41 kB / 1.179 GB, free: 2.449 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.3215, allocations: 93.86 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3215, allocations: 29.64 kB / 1.179 GB, free: 2.312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.3215, allocations: 84.14 kB / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3216, allocations: 8.203 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.3216, allocations: 17.7 kB / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3218, allocations: 314.8 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.3218, allocations: 0 / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.3218, allocations: 7.938 kB / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/0.3218, allocations: 12.86 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3218, allocations: 0 / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.74e-05/0.3219, allocations: 45.7 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3219, allocations: 4 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3219, allocations: 7.938 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.322, allocations: 0 / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.3221, allocations: 8 kB / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004212/0.3225, allocations: 0.586 MB / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.3226, allocations: 0 / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3226, allocations: 128 / 1.18 GB, free: 1.176 MB / 0.92 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 8.725e-05/0.3227, allocations: 117.8 kB / 1.18 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.3227, allocations: 4.031 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.3228, allocations: 44.81 kB / 1.18 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3228, allocations: 3.938 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3228, allocations: 0 / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3228, allocations: 0 / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.323, allocations: 153.6 kB / 1.181 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.323, allocations: 11.95 kB / 1.181 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.3231, allocations: 8 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3231, allocations: 0 / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3231, allocations: 4 kB / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003551/0.3234, allocations: 0.586 MB / 1.181 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.3235, allocations: 7.938 kB / 1.181 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.031e-05/0.3235, allocations: 73.19 kB / 1.181 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3236, allocations: 77.11 kB / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.3236, allocations: 0 / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.3236, allocations: 0 / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.3237, allocations: 7.922 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3237, allocations: 4 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.3237, allocations: 79.22 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 0 / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001869/0.3239, allocations: 12.12 kB / 1.181 GB, free: 15.87 MB / 0.9356 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.0001934/0.3241, allocations: 116.6 kB / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.3243, allocations: 15.98 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.3243, allocations: 0 / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.3244, allocations: 19.92 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.3246, allocations: 4.297 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.325, allocations: 123.9 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3253, allocations: 0.6768 MB / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.3253, allocations: 7.438 kB / 1.182 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.3253, allocations: 0 / 1.182 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.002565/0.3279, allocations: 0.7048 MB / 1.183 GB, free: 14.14 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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: 10.2301798829576]