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.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.0007382/0.0007382, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009748/0.001713, 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.0008963/0.0008963, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008871/0.001783, 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.9658/0.9658, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1067/1.073, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.535/2.535, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3187/2.854, allocations: 145.9 MB / 0.817 GB, free: 4.203 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_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 1.362e-06/1.362e-06, allocations: 0 / 0.8183 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.078e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001627/0.001648, allocations: 1.398 MB / 0.8197 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006324/0.00228, allocations: 0.5914 MB / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.734e-05/0.002297, allocations: 0 / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.083e-06/0.002304, allocations: 0 / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.304e-05/0.002327, allocations: 7.984 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.002608, allocations: 143.3 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.002661, allocations: 7.938 kB / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.002698, allocations: 0 / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.002749, allocations: 19.97 kB / 0.8205 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.002798, allocations: 0 / 0.8205 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.002808, allocations: 0 / 0.8205 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.003114, allocations: 255.4 kB / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.003123, allocations: 4 kB / 0.8207 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.003136, allocations: 7.938 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.003322, allocations: 127.6 kB / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.509e-05/0.003337, allocations: 0 / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003338, allocations: 0 / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.003353, allocations: 0 / 0.8208 GB, free: 280 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.0003526/0.003706, allocations: 268.3 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.003737, allocations: 12.62 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.003762, allocations: 0.9375 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.003842, allocations: 113.7 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.003852, allocations: 4.375 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.003859, allocations: 384 / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.673e-05/0.003926, allocations: 38.25 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.003932, allocations: 192 / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003938, allocations: 384 / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003943, allocations: 384 / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.003958, allocations: 11.88 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.567e-05/0.004043, allocations: 57.08 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.004086, allocations: 22.52 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.16e-05/0.004097, allocations: 8.859 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.004114, allocations: 4 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.004137, allocations: 38.61 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.004138, allocations: 0 / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.354e-05/0.004221, allocations: 29.7 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.004249, allocations: 55.41 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.004299, allocations: 98.7 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.004308, allocations: 29.64 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.004327, allocations: 84.14 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.004351, allocations: 7.938 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.004373, allocations: 21.97 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.004442, allocations: 314.8 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-06/0.004448, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.004452, allocations: 4 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.004472, allocations: 12.84 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.004475, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.109e-05/0.004506, allocations: 29.7 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.004516, allocations: 8 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004521, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.004529, allocations: 4.094 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.004653, allocations: 15.92 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002365/0.004889, allocations: 0.5742 MB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.004899, allocations: 4 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.004904, allocations: 0 / 0.8226 GB, free: 14.24 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.209e-05/0.004956, allocations: 113.8 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.004967, allocations: 7.984 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.00503, allocations: 36.95 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.005033, allocations: 8.031 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.005034, allocations: 0 / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.005038, allocations: 3.984 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.967e-05/0.005088, allocations: 61.91 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.00509, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.005134, allocations: 8 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-06/0.00514, allocations: 11.88 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.005141, allocations: 0 / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.005147, allocations: 11.98 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001747/0.005321, allocations: 0.5782 MB / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005322, allocations: 0 / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.099e-05/0.005363, allocations: 72.98 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.005371, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-06/0.005376, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-06/0.005386, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.005388, allocations: 4 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.608e-06/0.005397, allocations: 8.859 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005397, allocations: 0 / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001159/0.005513, allocations: 27.86 kB / 0.8236 GB, free: 13.22 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.0001365/0.00565, allocations: 108.4 kB / 0.8237 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.387e-05/0.005724, allocations: 16.8 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.005729, allocations: 7.984 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.005745, allocations: 8.859 kB / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.603e-05/0.005801, allocations: 4 kB / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.006224, allocations: 112.8 kB / 0.8238 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.421e-05/0.006248, allocations: 51.36 kB / 0.8239 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.006266, allocations: 4 kB / 0.8239 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.006303, allocations: 51.36 kB / 0.8239 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.006304, allocations: 0 / 0.8239 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.001912/0.008216, allocations: 0.6039 MB / 0.8245 GB, free: 12.23 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.342280100099742]