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.001688/0.001688, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002105/0.002105, allocations: 217.4 kB / 23.04 MB, free: 4.844 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.09/3.09, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.001996/0.001996, allocations: 70.53 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2593/0.6102, allocations: 215 MB / 1.537 GB, free: 9.172 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.6291, allocations: 12.57 MB / 1.549 GB, free: 12.57 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.6312, allocations: 87.19 kB / 1.549 GB, free: 12.48 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.6338, allocations: 0.9587 MB / 1.55 GB, free: 11.52 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.6388, allocations: 1.865 MB / 1.552 GB, free: 9.645 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.6421, allocations: 1.262 MB / 1.553 GB, free: 8.395 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004666/0.6467, allocations: 3.282 MB / 1.557 GB, free: 5.098 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.6482, allocations: 0.8292 MB / 1.557 GB, free: 4.23 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01037/0.6586, allocations: 4.293 MB / 1.562 GB, free: 15.92 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.6603, allocations: 0.8903 MB / 1.563 GB, free: 15.03 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.6606, allocations: 76 kB / 1.563 GB, free: 14.95 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.662, allocations: 0.5921 MB / 1.563 GB, free: 14.36 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004974/0.6625, allocations: 462.3 kB / 1.564 GB, free: 13.91 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.000731/0.6633, allocations: 0.5597 MB / 1.564 GB, free: 13.34 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.6655, allocations: 1.548 MB / 1.566 GB, free: 11.79 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6655, allocations: 4 kB / 1.566 GB, free: 11.79 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6655, allocations: 0 / 1.566 GB, free: 11.79 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.6655, allocations: 0 / 1.566 GB, free: 11.79 MB / 1.264 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.002429/0.6679, allocations: 1.615 MB / 1.567 GB, free: 10.14 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.668, allocations: 8.031 kB / 1.567 GB, free: 10.13 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006693/0.6686, allocations: 211 kB / 1.567 GB, free: 9.922 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.6703, allocations: 0.8423 MB / 1.568 GB, free: 9.035 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.6704, allocations: 176.8 kB / 1.568 GB, free: 8.836 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.6705, allocations: 88 kB / 1.569 GB, free: 8.75 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.6722, allocations: 1.018 MB / 1.57 GB, free: 7.621 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6722, allocations: 7.875 kB / 1.57 GB, free: 7.613 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.6723, allocations: 36 kB / 1.57 GB, free: 7.578 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.6723, allocations: 24 kB / 1.57 GB, free: 7.555 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.6732, allocations: 0.4991 MB / 1.57 GB, free: 7.059 MB / 1.264 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.004637/0.6779, allocations: 3.745 MB / 1.574 GB, free: 3.172 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.6785, allocations: 412.6 kB / 1.574 GB, free: 2.641 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/0.6788, allocations: 251.8 kB / 1.574 GB, free: 2.352 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.679, allocations: 23.98 kB / 1.574 GB, free: 2.328 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.679, allocations: 54.5 kB / 1.574 GB, free: 2.266 MB / 1.264 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.679, allocations: 4 kB / 1.574 GB, free: 2.262 MB / 1.264 GB Notification: Performance of matching and sorting (n=31): time 0.001706/0.6807, allocations: 0.6015 MB / 1.575 GB, free: 1.648 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.6809, allocations: 409.5 kB / 1.575 GB, free: 1.156 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.682, allocations: 0.8662 MB / 1.576 GB, free: 280 kB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.6821, allocations: 33.7 kB / 1.576 GB, free: 240 kB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.6825, allocations: 0.5867 MB / 1.577 GB, free: 15.64 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.39e-05/0.6826, allocations: 111 kB / 1.577 GB, free: 15.53 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.6828, allocations: 81.64 kB / 1.577 GB, free: 15.45 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6829, allocations: 322 kB / 1.577 GB, free: 15.12 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.6831, allocations: 91.94 kB / 1.577 GB, free: 15.04 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000772/0.6839, allocations: 0.9872 MB / 1.578 GB, free: 13.79 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.6844, allocations: 332.5 kB / 1.579 GB, free: 13.42 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.6844, allocations: 3.938 kB / 1.579 GB, free: 13.42 MB / 1.279 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000844/0.6852, allocations: 466.5 kB / 1.579 GB, free: 12.95 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6853, allocations: 13.64 kB / 1.579 GB, free: 12.94 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6853, allocations: 4 kB / 1.579 GB, free: 12.93 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.6856, allocations: 73.8 kB / 1.579 GB, free: 12.86 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.6858, allocations: 55.91 kB / 1.579 GB, free: 12.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.6883, allocations: 3.001 MB / 1.582 GB, free: 9.605 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/0.6889, allocations: 43.86 kB / 1.582 GB, free: 9.562 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.6889, allocations: 20 kB / 1.582 GB, free: 9.543 MB / 1.279 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.0004522/0.6894, allocations: 277.8 kB / 1.583 GB, free: 9.262 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.6898, allocations: 111.3 kB / 1.583 GB, free: 9.152 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.6899, allocations: 96.88 kB / 1.583 GB, free: 9.055 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.6899, allocations: 8 kB / 1.583 GB, free: 9.047 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6899, allocations: 7.984 kB / 1.583 GB, free: 9.039 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.6899, allocations: 4 kB / 1.583 GB, free: 9.035 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.6931, allocations: 2.353 MB / 1.585 GB, free: 6.562 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.6931, allocations: 4.094 kB / 1.585 GB, free: 6.559 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.6933, allocations: 51.91 kB / 1.585 GB, free: 6.508 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.6935, allocations: 73.67 kB / 1.585 GB, free: 6.43 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.6935, allocations: 11.94 kB / 1.585 GB, free: 6.418 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.6959, allocations: 3.006 MB / 1.588 GB, free: 3.211 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.6959, allocations: 8 kB / 1.588 GB, free: 3.203 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009781/0.6969, allocations: 0.6368 MB / 1.589 GB, free: 2.477 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.6972, allocations: 135.2 kB / 1.589 GB, free: 2.344 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/0.6973, allocations: 12 kB / 1.589 GB, free: 2.332 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.6978, allocations: 35.95 kB / 1.589 GB, free: 2.297 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.6979, allocations: 47.77 kB / 1.589 GB, free: 2.25 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.6979, allocations: 16 kB / 1.589 GB, free: 2.234 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007628/0.6987, allocations: 0.5896 MB / 1.59 GB, free: 1.637 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.6987, allocations: 4 kB / 1.59 GB, free: 1.633 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001173/0.6999, allocations: 291.3 kB / 1.59 GB, free: 1.348 MB / 1.279 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.0004648/0.7003, allocations: 193 kB / 1.59 GB, free: 1.148 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.7015, allocations: 0.5167 MB / 1.591 GB, free: 0.6055 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7015, allocations: 0 / 1.591 GB, free: 0.6055 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.7022, allocations: 406.7 kB / 1.591 GB, free: 188 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.7044, allocations: 423.5 kB / 1.591 GB, free: 15.77 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.7079, allocations: 1.885 MB / 1.593 GB, free: 13.78 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.7085, allocations: 0.5403 MB / 1.594 GB, free: 13.21 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.7087, allocations: 67.42 kB / 1.594 GB, free: 13.14 MB / 1.295 GB Notification: Performance of SimCode: time 1.323e-06/0.7087, allocations: 0 / 1.594 GB, free: 13.14 MB / 1.295 GB Notification: Performance of Templates: time 0.6904/1.399, allocations: 24.43 MB / 1.618 GB, free: 281.1 MB / 1.295 GB " [Timeout remaining time 299] 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: 15.343695749994367]