Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00135/0.00135, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001547/0.001547, allocations: 190.2 kB / 22.23 MB, free: 5.098 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.303/1.303, allocations: 225.6 MB / 251 MB, free: 13.19 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.885/2.885, allocations: 495.7 MB / 0.7831 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 70.59 kB / 1.137 GB, free: 33.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.315, allocations: 173.6 MB / 1.307 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002252/0.3173, allocations: 1.264 MB / 1.308 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.3182, allocations: 0.588 MB / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.3183, allocations: 0 / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.3183, allocations: 3.938 kB / 1.309 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.3183, allocations: 4 kB / 1.309 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.3188, allocations: 139.5 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.3188, allocations: 15.92 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.3189, allocations: 4 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.3189, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.319, allocations: 7.984 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.118e-06/0.319, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.3195, allocations: 343.3 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.3195, allocations: 11.83 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.3195, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.3198, allocations: 139.6 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3198, allocations: 0 / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3198, allocations: 0 / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.3198, allocations: 0 / 1.309 GB, free: 15.42 MB / 1.014 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.0003711/0.3201, allocations: 278 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3202, allocations: 12.86 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.3202, allocations: 8.938 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3203, allocations: 110.5 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3203, allocations: 384 / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.3203, allocations: 4.359 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.214e-05/0.3204, allocations: 30.27 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3204, allocations: 192 / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3204, allocations: 3.938 kB / 1.31 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3204, allocations: 7.984 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.3205, allocations: 4 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.3206, allocations: 116.8 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.48e-05/0.3207, allocations: 34.53 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.3207, allocations: 8.922 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3207, allocations: 0 / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3207, allocations: 30.56 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.3207, allocations: 0 / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.3209, allocations: 49.59 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3209, allocations: 59.47 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.321, allocations: 97.84 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.321, allocations: 29.7 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.321, allocations: 88.02 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.321, allocations: 3.953 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.3211, allocations: 13.72 kB / 1.31 GB, free: 14.28 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3212, allocations: 314.8 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.3212, allocations: 128 / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.3212, allocations: 11.98 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.3212, allocations: 8.859 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3212, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.074e-05/0.3213, allocations: 41.64 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3213, allocations: 8 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3213, allocations: 7.922 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3213, allocations: 0 / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3215, allocations: 11.98 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003701/0.3218, allocations: 0.5822 MB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.3219, allocations: 0 / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3219, allocations: 0 / 1.311 GB, free: 13.26 MB / 1.014 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 7.52e-05/0.3219, allocations: 117.8 kB / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.322, allocations: 0 / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.3221, allocations: 53.03 kB / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3221, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3221, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.3221, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.452e-05/0.3222, allocations: 128.7 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3222, allocations: 0 / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.3222, allocations: 11.98 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3222, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.3222, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003225/0.3226, allocations: 0.5899 MB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.3226, allocations: 7.938 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.014e-05/0.3226, allocations: 69.09 kB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.3226, allocations: 0 / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.3227, allocations: 4 kB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.3227, allocations: 0 / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.3227, allocations: 8.062 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.3227, allocations: 0 / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.3227, allocations: 79.28 kB / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3227, allocations: 3.938 kB / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001811/0.3229, allocations: 11.92 kB / 1.312 GB, free: 12.09 MB / 1.014 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.0001423/0.323, allocations: 108 kB / 1.312 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.3232, allocations: 28.02 kB / 1.312 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3232, allocations: 0 / 1.312 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.3233, allocations: 15.98 kB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3234, allocations: 3.938 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.3237, allocations: 102.2 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.324, allocations: 0.6768 MB / 1.313 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.324, allocations: 4.125 kB / 1.313 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.324, allocations: 7.438 kB / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.324, allocations: 0 / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of Templates: time 0.002618/0.3266, allocations: 474 kB / 1.314 GB, free: 10.65 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.970021789893508]