Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002384/0.002384, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.003077/0.003077, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.652/1.652, allocations: 177.1 MB / 203.9 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.107/3.107, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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,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") 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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.01e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002492/0.002522, allocations: 1.284 MB / 0.8121 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003636, allocations: 0.5517 MB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.003659, allocations: 6.438 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.003673, allocations: 0 / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.003723, allocations: 0 / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.004265, allocations: 143.2 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.004311, allocations: 9.469 kB / 0.8128 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.004342, allocations: 0 / 0.8128 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.004381, allocations: 11.97 kB / 0.8128 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.004424, allocations: 4 kB / 0.8128 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.004437, allocations: 1.469 kB / 0.8128 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.004932, allocations: 271.4 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.004943, allocations: 0 / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.004962, allocations: 4 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.00528, allocations: 157 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005283, allocations: 0 / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.005285, allocations: 0 / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.005289, allocations: 4 kB / 0.8132 GB, free: 15.7 MB / 0.7761 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.000494/0.005783, allocations: 381 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.005819, allocations: 8.031 kB / 0.8136 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.005857, allocations: 0.9375 kB / 0.8136 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.005989, allocations: 109.2 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.006002, allocations: 0.9062 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.006011, allocations: 384 / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.006112, allocations: 43.16 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.00612, allocations: 192 / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.006128, allocations: 1.094 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.00614, allocations: 384 / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.817e-05/0.006168, allocations: 8.469 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.006341, allocations: 114 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.089e-05/0.006412, allocations: 31.08 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.006439, allocations: 11.75 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.00646, allocations: 1.156 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.006499, allocations: 41.33 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.0065, allocations: 0 / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.006658, allocations: 42.56 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.006705, allocations: 51.41 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.006837, allocations: 166.7 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.006856, allocations: 30.73 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.006925, allocations: 126.9 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.00695, allocations: 7.953 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.006986, allocations: 16.66 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005034/0.007489, allocations: 0.4884 MB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.007502, allocations: 0 / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.007519, allocations: 8.797 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.007553, allocations: 15.62 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.007555, allocations: 0.875 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.304e-05/0.007628, allocations: 43.25 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.007645, allocations: 8 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007649, allocations: 0 / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007661, allocations: 0 / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.007817, allocations: 11.98 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.008463, allocations: 0.8982 MB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.008481, allocations: 3.188 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.008489, allocations: 4 kB / 0.8158 GB, free: 12.83 MB / 0.7761 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 0.0001136/0.008603, allocations: 156.6 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.008616, allocations: 3.938 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.008732, allocations: 49 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008734, allocations: 0 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.008737, allocations: 0 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.008744, allocations: 4.5 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.008855, allocations: 118.5 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008856, allocations: 0 / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.008942, allocations: 11.94 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.008946, allocations: 3.984 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.008957, allocations: 3.938 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005679/0.009525, allocations: 0.8941 MB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009526, allocations: 0.8438 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.009627, allocations: 80.33 kB / 0.8171 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.009637, allocations: 10.42 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.009647, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.009661, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.009682, allocations: 4 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.009684, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.073e-05/0.009755, allocations: 127.1 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009755, allocations: 3 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002013/0.009956, allocations: 8 kB / 0.8172 GB, free: 11.27 MB / 0.7761 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.0001957/0.01015, allocations: 107.2 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.01034, allocations: 31.67 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01034, allocations: 0 / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.01045, allocations: 20.58 kB / 0.8174 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.01059, allocations: 16.88 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.01092, allocations: 103.5 kB / 0.8175 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.01098, allocations: 55.36 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.011, allocations: 9.109 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.01102, allocations: 8.5 kB / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01102, allocations: 1.156 kB / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of Templates: time 0.003372/0.01439, allocations: 488.4 kB / 0.818 GB, free: 10.42 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.363584435079247]