Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001821/0.001821, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002089/0.002089, allocations: 218 kB / 23.01 MB, free: 4.605 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.221/3.221, allocations: 0.49 GB / 0.7958 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_12_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_12_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.002074/0.002074, allocations: 70.91 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4051, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.325/0.7301, allocations: 246.7 MB / 1.568 GB, free: 9.816 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02404/0.7541, allocations: 13.69 MB / 1.581 GB, free: 12.09 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003066/0.7572, allocations: 87.19 kB / 1.582 GB, free: 12 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.003835/0.761, allocations: 1.021 MB / 1.583 GB, free: 10.98 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.006793/0.7678, allocations: 1.858 MB / 1.584 GB, free: 9.113 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004343/0.7722, allocations: 1.306 MB / 1.586 GB, free: 7.82 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006841/0.779, allocations: 3.305 MB / 1.589 GB, free: 4.5 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.7811, allocations: 0.8409 MB / 1.59 GB, free: 3.621 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/0.7937, allocations: 4.418 MB / 1.594 GB, free: 15.19 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.796, allocations: 0.9333 MB / 1.595 GB, free: 14.25 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003182/0.7963, allocations: 76 kB / 1.595 GB, free: 14.18 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.7985, allocations: 0.7442 MB / 1.596 GB, free: 13.43 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.7991, allocations: 454.3 kB / 1.596 GB, free: 12.98 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.8003, allocations: 0.6917 MB / 1.597 GB, free: 12.29 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.8032, allocations: 1.529 MB / 1.598 GB, free: 10.75 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.8032, allocations: 0 / 1.598 GB, free: 10.75 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8032, allocations: 0 / 1.598 GB, free: 10.75 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.8032, allocations: 0 / 1.598 GB, free: 10.75 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.002805/0.806, allocations: 1.617 MB / 1.6 GB, free: 9.102 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.8061, allocations: 8.031 kB / 1.6 GB, free: 9.094 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007377/0.8068, allocations: 203 kB / 1.6 GB, free: 8.895 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.8087, allocations: 0.8578 MB / 1.601 GB, free: 7.992 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.8089, allocations: 172.8 kB / 1.601 GB, free: 7.797 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.809, allocations: 80 kB / 1.601 GB, free: 7.719 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.8105, allocations: 0.9219 MB / 1.602 GB, free: 6.711 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.8105, allocations: 4 kB / 1.602 GB, free: 6.707 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.8106, allocations: 32 kB / 1.602 GB, free: 6.676 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.8106, allocations: 20 kB / 1.602 GB, free: 6.656 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/0.8116, allocations: 0.5108 MB / 1.603 GB, free: 6.148 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.005886/0.8175, allocations: 4.807 MB / 1.607 GB, free: 1.027 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.8182, allocations: 416.6 kB / 1.608 GB, free: 0.4922 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.8186, allocations: 251.9 kB / 1.608 GB, free: 208 kB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.8189, allocations: 27.92 kB / 1.608 GB, free: 180 kB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.8189, allocations: 54.5 kB / 1.608 GB, free: 116 kB / 1.295 GB Notification: Performance of pre-optimization done (n=31): time 3.266e-06/0.8189, allocations: 0 / 1.608 GB, free: 116 kB / 1.295 GB Notification: Performance of matching and sorting (n=31): time 0.7797/1.599, allocations: 0.632 MB / 1.609 GB, free: 284.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/1.599, allocations: 398.7 kB / 1.609 GB, free: 284.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/1.601, allocations: 1.292 MB / 1.61 GB, free: 284.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/1.601, allocations: 38.92 kB / 1.61 GB, free: 284.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/1.601, allocations: 0.561 MB / 1.611 GB, free: 284.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/1.601, allocations: 111 kB / 1.611 GB, free: 284.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/1.601, allocations: 89.06 kB / 1.611 GB, free: 284 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.801e-05/1.601, allocations: 323.7 kB / 1.611 GB, free: 283.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/1.602, allocations: 91.11 kB / 1.611 GB, free: 283.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/1.602, allocations: 340.8 kB / 1.612 GB, free: 283.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/1.602, allocations: 327.5 kB / 1.612 GB, free: 283.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.602, allocations: 1.312 kB / 1.612 GB, free: 283.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008762/1.603, allocations: 0.4953 MB / 1.613 GB, free: 283 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.603, allocations: 5.844 kB / 1.613 GB, free: 283 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.603, allocations: 3.531 kB / 1.613 GB, free: 283 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/1.604, allocations: 72.75 kB / 1.613 GB, free: 283 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/1.604, allocations: 61.23 kB / 1.613 GB, free: 283 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/1.606, allocations: 3.057 MB / 1.616 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/1.606, allocations: 97.45 kB / 1.616 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/1.606, allocations: 27.38 kB / 1.616 GB, free: 280 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.000344/1.607, allocations: 275 kB / 1.616 GB, free: 279.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/1.607, allocations: 151 kB / 1.616 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/1.607, allocations: 130 kB / 1.616 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/1.607, allocations: 6.469 kB / 1.616 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.607, allocations: 5 kB / 1.616 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/1.607, allocations: 10.67 kB / 1.616 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/1.61, allocations: 2.49 MB / 1.619 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.61, allocations: 6.266 kB / 1.619 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/1.61, allocations: 50.8 kB / 1.619 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/1.611, allocations: 69.58 kB / 1.619 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/1.611, allocations: 12.77 kB / 1.619 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/1.612, allocations: 3.059 MB / 1.622 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.612, allocations: 10.19 kB / 1.622 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/1.613, allocations: 0.6782 MB / 1.623 GB, free: 274.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/1.614, allocations: 176.1 kB / 1.623 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/1.614, allocations: 14.88 kB / 1.623 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/1.615, allocations: 42.91 kB / 1.623 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/1.615, allocations: 48.66 kB / 1.623 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/1.615, allocations: 15.59 kB / 1.623 GB, free: 274.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001191/1.616, allocations: 0.8931 MB / 1.624 GB, free: 273.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.616, allocations: 2.125 kB / 1.624 GB, free: 273.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001036/1.617, allocations: 259.3 kB / 1.624 GB, free: 273.9 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.0003184/1.617, allocations: 189.7 kB / 1.624 GB, free: 273.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009171/1.618, allocations: 0.511 MB / 1.625 GB, free: 273.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.618, allocations: 5.734 kB / 1.625 GB, free: 273.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000458/1.619, allocations: 401.5 kB / 1.625 GB, free: 273.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/1.622, allocations: 0.7513 MB / 1.626 GB, free: 273.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/1.625, allocations: 1.932 MB / 1.628 GB, free: 271.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/1.625, allocations: 1.134 MB / 1.629 GB, free: 271.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/1.626, allocations: 79.2 kB / 1.629 GB, free: 271.2 MB / 1.295 GB Notification: Performance of SimCode: time 7.81e-07/1.626, allocations: 2.25 kB / 1.629 GB, free: 271.2 MB / 1.295 GB Notification: Performance of Templates: time 0.03914/1.665, allocations: 28.08 MB / 1.656 GB, free: 257.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.333670530992094]