Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.001665/0.001665, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001817/0.001817, allocations: 219.1 kB / 23 MB, free: 4.914 MB / 14.72 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.295/3.295, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.72 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3909, allocations: 181.9 MB / 1.365 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2871/0.678, allocations: 215 MB / 1.575 GB, free: 5.742 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.6995, allocations: 12.56 MB / 1.587 GB, free: 9.148 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.7021, allocations: 91.19 kB / 1.587 GB, free: 9.059 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.7054, allocations: 0.951 MB / 1.588 GB, free: 8.102 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.006383/0.7118, allocations: 1.858 MB / 1.59 GB, free: 6.238 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.716, allocations: 1.271 MB / 1.591 GB, free: 4.98 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005932/0.722, allocations: 3.274 MB / 1.594 GB, free: 1.699 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.7238, allocations: 0.8369 MB / 1.595 GB, free: 0.8242 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.7358, allocations: 4.305 MB / 1.599 GB, free: 12.5 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.738, allocations: 0.8824 MB / 1.6 GB, free: 11.62 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.7383, allocations: 80 kB / 1.6 GB, free: 11.54 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.7402, allocations: 0.5921 MB / 1.601 GB, free: 10.95 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0005991/0.7408, allocations: 454.4 kB / 1.601 GB, free: 10.5 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0009545/0.7417, allocations: 0.5636 MB / 1.602 GB, free: 9.934 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.7443, allocations: 1.552 MB / 1.603 GB, free: 8.375 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7443, allocations: 3.938 kB / 1.603 GB, free: 8.371 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7443, allocations: 0 / 1.603 GB, free: 8.371 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.7444, allocations: 0 / 1.603 GB, free: 8.371 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002812/0.7472, allocations: 1.609 MB / 1.605 GB, free: 6.727 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7472, allocations: 12.03 kB / 1.605 GB, free: 6.715 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.7479, allocations: 206.9 kB / 1.605 GB, free: 6.512 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.7497, allocations: 0.8501 MB / 1.606 GB, free: 5.617 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.75, allocations: 176.8 kB / 1.606 GB, free: 5.418 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.7501, allocations: 80 kB / 1.606 GB, free: 5.34 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.7518, allocations: 1.022 MB / 1.607 GB, free: 4.203 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.7518, allocations: 7.938 kB / 1.607 GB, free: 4.195 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/0.7519, allocations: 32 kB / 1.607 GB, free: 4.164 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.7519, allocations: 20 kB / 1.607 GB, free: 4.145 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/0.7529, allocations: 0.503 MB / 1.608 GB, free: 3.641 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7631/1.516, allocations: 3.749 MB / 1.611 GB, free: 249.6 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/1.517, allocations: 400.9 kB / 1.612 GB, free: 249.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/1.517, allocations: 255.2 kB / 1.612 GB, free: 249.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/1.517, allocations: 26.7 kB / 1.612 GB, free: 249.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/1.517, allocations: 55.73 kB / 1.612 GB, free: 249.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=31): time 2.876e-06/1.517, allocations: 0 / 1.612 GB, free: 249.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=31): time 0.00194/1.519, allocations: 0.6036 MB / 1.613 GB, free: 249 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/1.519, allocations: 402 kB / 1.613 GB, free: 248.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.521, allocations: 0.8622 MB / 1.614 GB, free: 248.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/1.521, allocations: 38.61 kB / 1.614 GB, free: 248.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/1.521, allocations: 0.5872 MB / 1.614 GB, free: 248.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/1.521, allocations: 112.4 kB / 1.614 GB, free: 248.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.521, allocations: 85.64 kB / 1.615 GB, free: 248.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/1.521, allocations: 317.1 kB / 1.615 GB, free: 247.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/1.522, allocations: 94.39 kB / 1.615 GB, free: 247.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/1.522, allocations: 0.9882 MB / 1.616 GB, free: 246.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/1.523, allocations: 327 kB / 1.616 GB, free: 246.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.523, allocations: 1.719 kB / 1.616 GB, free: 246.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000963/1.524, allocations: 474.4 kB / 1.617 GB, free: 246.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.524, allocations: 10.47 kB / 1.617 GB, free: 246.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.524, allocations: 3.156 kB / 1.617 GB, free: 246.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/1.524, allocations: 73.39 kB / 1.617 GB, free: 246.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/1.524, allocations: 60.22 kB / 1.617 GB, free: 246.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/1.526, allocations: 2.984 MB / 1.62 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/1.527, allocations: 45.95 kB / 1.62 GB, free: 243.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/1.527, allocations: 25.62 kB / 1.62 GB, free: 243.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004313/1.527, allocations: 279.8 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/1.528, allocations: 110 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/1.528, allocations: 98.86 kB / 1.62 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.528, allocations: 6.438 kB / 1.62 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.528, allocations: 9.25 kB / 1.62 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.528, allocations: 6.359 kB / 1.62 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/1.531, allocations: 2.35 MB / 1.623 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.531, allocations: 5.469 kB / 1.623 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/1.531, allocations: 51.91 kB / 1.623 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/1.531, allocations: 71.61 kB / 1.623 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/1.531, allocations: 11.19 kB / 1.623 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/1.533, allocations: 2.998 MB / 1.626 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.533, allocations: 10.34 kB / 1.626 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/1.534, allocations: 0.6383 MB / 1.626 GB, free: 238.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/1.535, allocations: 135 kB / 1.626 GB, free: 238.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.535, allocations: 13.81 kB / 1.626 GB, free: 238.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/1.535, allocations: 39.31 kB / 1.626 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.535, allocations: 51.81 kB / 1.626 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/1.536, allocations: 18.36 kB / 1.627 GB, free: 238.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001079/1.537, allocations: 0.5925 MB / 1.627 GB, free: 237.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.537, allocations: 0 / 1.627 GB, free: 237.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001427/1.538, allocations: 290.1 kB / 1.627 GB, free: 237.8 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004012/1.538, allocations: 201.8 kB / 1.628 GB, free: 237.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.54, allocations: 0.5212 MB / 1.628 GB, free: 237.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.54, allocations: 1.438 kB / 1.628 GB, free: 237.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/1.54, allocations: 398.7 kB / 1.628 GB, free: 237.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.542, allocations: 416.1 kB / 1.629 GB, free: 237.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/1.545, allocations: 1.87 MB / 1.631 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/1.546, allocations: 0.5454 MB / 1.631 GB, free: 235.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/1.546, allocations: 59.73 kB / 1.631 GB, free: 235.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.773e-06/1.546, allocations: 0 / 1.631 GB, free: 235.8 MB / 1.295 GB Notification: Performance of Templates: time 0.03954/1.586, allocations: 24.45 MB / 1.655 GB, free: 227.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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: 16.55831343214959]