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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 496.2 MB / 0.7819 GB, free: 12.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.89 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.3171/1.332, allocations: 243.7 MB / 1.543 GB, free: 4.621 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02292/1.355, allocations: 13.64 MB / 1.557 GB, free: 6.941 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/1.358, allocations: 59.62 kB / 1.557 GB, free: 6.883 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003536/1.362, allocations: 1.017 MB / 1.558 GB, free: 5.859 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00645/1.368, allocations: 1.843 MB / 1.56 GB, free: 4.012 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/1.372, allocations: 1.247 MB / 1.561 GB, free: 2.773 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.006047/1.378, allocations: 3.238 MB / 1.564 GB, free: 15.53 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/1.38, allocations: 0.8172 MB / 1.565 GB, free: 14.68 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01249/1.393, allocations: 4.324 MB / 1.569 GB, free: 10.34 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/1.395, allocations: 0.9255 MB / 1.57 GB, free: 9.414 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002867/1.395, allocations: 80 kB / 1.57 GB, free: 9.336 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/1.397, allocations: 0.7325 MB / 1.571 GB, free: 8.602 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005612/1.398, allocations: 458.3 kB / 1.571 GB, free: 8.152 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/1.399, allocations: 0.68 MB / 1.572 GB, free: 7.469 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/1.401, allocations: 1.537 MB / 1.573 GB, free: 5.926 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.401, allocations: 0 / 1.573 GB, free: 5.926 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.455e-06/1.401, allocations: 0 / 1.573 GB, free: 5.926 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.795e-05/1.401, allocations: 0 / 1.573 GB, free: 5.926 MB / 1.248 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.002743/1.404, allocations: 1.665 MB / 1.575 GB, free: 4.207 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.404, allocations: 8.031 kB / 1.575 GB, free: 4.199 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/1.405, allocations: 207 kB / 1.575 GB, free: 3.996 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/1.406, allocations: 0.91 MB / 1.576 GB, free: 3.031 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/1.407, allocations: 125.4 kB / 1.576 GB, free: 2.895 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/1.407, allocations: 87.94 kB / 1.576 GB, free: 2.809 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/1.408, allocations: 0.9236 MB / 1.577 GB, free: 1.797 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/1.408, allocations: 4 kB / 1.577 GB, free: 1.793 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/1.408, allocations: 32 kB / 1.577 GB, free: 1.762 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/1.408, allocations: 20 kB / 1.577 GB, free: 1.742 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009416/1.409, allocations: 0.5071 MB / 1.578 GB, free: 1.238 MB / 1.248 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.005807/1.415, allocations: 4.87 MB / 1.582 GB, free: 12.05 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/1.416, allocations: 404.6 kB / 1.583 GB, free: 11.53 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/1.416, allocations: 251.9 kB / 1.583 GB, free: 11.24 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/1.416, allocations: 109.4 kB / 1.583 GB, free: 11.12 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/1.417, allocations: 58.42 kB / 1.583 GB, free: 11.05 MB / 1.264 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/1.417, allocations: 0 / 1.583 GB, free: 11.05 MB / 1.264 GB Notification: Performance of matching and sorting (n=31): time 0.002035/1.419, allocations: 0.7787 MB / 1.584 GB, free: 10.22 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002686/1.419, allocations: 397.5 kB / 1.584 GB, free: 9.742 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.421, allocations: 1.267 MB / 1.586 GB, free: 8.465 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.752e-05/1.421, allocations: 37.7 kB / 1.586 GB, free: 8.422 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/1.421, allocations: 0.5616 MB / 1.586 GB, free: 7.855 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.421, allocations: 115.2 kB / 1.586 GB, free: 7.742 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.421, allocations: 85.64 kB / 1.586 GB, free: 7.652 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.422, allocations: 317.9 kB / 1.587 GB, free: 7.336 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.422, allocations: 91.94 kB / 1.587 GB, free: 7.246 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/1.422, allocations: 342.2 kB / 1.587 GB, free: 6.816 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/1.423, allocations: 328.5 kB / 1.587 GB, free: 6.449 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.423, allocations: 3.938 kB / 1.587 GB, free: 6.445 MB / 1.264 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000969/1.424, allocations: 0.4904 MB / 1.588 GB, free: 5.941 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.424, allocations: 8 kB / 1.588 GB, free: 5.934 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.424, allocations: 4 kB / 1.588 GB, free: 5.93 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/1.424, allocations: 69.67 kB / 1.588 GB, free: 5.855 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/1.424, allocations: 56.05 kB / 1.588 GB, free: 5.801 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/1.427, allocations: 3.286 MB / 1.591 GB, free: 2.238 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/1.428, allocations: 99.42 kB / 1.591 GB, free: 2.141 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/1.428, allocations: 20 kB / 1.591 GB, free: 2.121 MB / 1.264 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.0004946/1.429, allocations: 273.6 kB / 1.592 GB, free: 1.844 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/1.429, allocations: 139.1 kB / 1.592 GB, free: 1.707 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/1.429, allocations: 132 kB / 1.592 GB, free: 1.574 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.429, allocations: 8 kB / 1.592 GB, free: 1.566 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/1.429, allocations: 7.938 kB / 1.592 GB, free: 1.559 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.429, allocations: 7.984 kB / 1.592 GB, free: 1.551 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/1.433, allocations: 2.512 MB / 1.594 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.433, allocations: 8 kB / 1.594 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.433, allocations: 47.91 kB / 1.594 GB, free: 14.84 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/1.433, allocations: 69.67 kB / 1.594 GB, free: 14.77 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/1.433, allocations: 16.31 kB / 1.594 GB, free: 14.75 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/1.436, allocations: 3.266 MB / 1.598 GB, free: 11.21 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/1.436, allocations: 11.94 kB / 1.598 GB, free: 11.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.437, allocations: 0.6857 MB / 1.598 GB, free: 10.42 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/1.438, allocations: 252.1 kB / 1.599 GB, free: 10.15 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/1.438, allocations: 15.98 kB / 1.599 GB, free: 10.14 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/1.439, allocations: 43.95 kB / 1.599 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.439, allocations: 39.78 kB / 1.599 GB, free: 10.05 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/1.439, allocations: 23.98 kB / 1.599 GB, free: 10.03 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001339/1.44, allocations: 0.8763 MB / 1.6 GB, free: 9.156 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/1.44, allocations: 0 / 1.6 GB, free: 9.156 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001059/1.441, allocations: 259.8 kB / 1.6 GB, free: 8.902 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.0005511/1.442, allocations: 211.5 kB / 1.6 GB, free: 8.695 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.443, allocations: 0.5126 MB / 1.6 GB, free: 8.156 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.443, allocations: 0.6875 kB / 1.6 GB, free: 8.156 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/1.443, allocations: 402.3 kB / 1.601 GB, free: 7.738 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/1.447, allocations: 0.7489 MB / 1.602 GB, free: 6.992 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/1.45, allocations: 1.858 MB / 1.603 GB, free: 5.031 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009937/1.451, allocations: 1.142 MB / 1.605 GB, free: 3.859 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009029/1.452, allocations: 242.5 kB / 1.605 GB, free: 3.617 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/1.452, allocations: 75.44 kB / 1.605 GB, free: 3.543 MB / 1.279 GB Notification: Performance of SimCode: time 1.874e-06/1.452, allocations: 0 / 1.605 GB, free: 3.543 MB / 1.279 GB Notification: Performance of Templates: time 0.04977/1.502, allocations: 23.62 MB / 1.628 GB, free: 12.25 MB / 1.311 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/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: 10.545050614513457]