Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001394/0.001394, allocations: 109 kB / 17.54 MB, free: 4.746 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.001434/0.001434, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.487/2.487, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7184/0.7203, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2631/0.9834, allocations: 243.6 MB / 1.509 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01819/1.002, allocations: 13.66 MB / 1.523 GB, free: 3.223 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/1.003, allocations: 59.62 kB / 1.523 GB, free: 3.164 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002724/1.006, allocations: 1.017 MB / 1.524 GB, free: 2.141 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004556/1.011, allocations: 1.851 MB / 1.525 GB, free: 288 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/1.014, allocations: 1.253 MB / 1.527 GB, free: 15.04 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004468/1.018, allocations: 3.28 MB / 1.53 GB, free: 11.75 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/1.019, allocations: 0.8289 MB / 1.531 GB, free: 10.89 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008606/1.028, allocations: 4.258 MB / 1.535 GB, free: 6.621 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/1.03, allocations: 0.9566 MB / 1.536 GB, free: 5.66 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002091/1.03, allocations: 76 kB / 1.536 GB, free: 5.586 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/1.031, allocations: 0.7403 MB / 1.537 GB, free: 4.844 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005053/1.032, allocations: 458.3 kB / 1.537 GB, free: 4.395 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000901/1.033, allocations: 0.6839 MB / 1.538 GB, free: 3.707 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/1.035, allocations: 1.521 MB / 1.539 GB, free: 2.18 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.035, allocations: 0 / 1.539 GB, free: 2.18 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.433e-06/1.035, allocations: 0 / 1.539 GB, free: 2.18 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.923e-05/1.035, allocations: 3.938 kB / 1.539 GB, free: 2.176 MB / 1.217 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.002407/1.037, allocations: 1.669 MB / 1.541 GB, free: 464 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/1.037, allocations: 12.03 kB / 1.541 GB, free: 452 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/1.037, allocations: 122.7 kB / 1.541 GB, free: 320 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/1.038, allocations: 207 kB / 1.541 GB, free: 112 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/1.04, allocations: 0.9101 MB / 1.542 GB, free: 15.14 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/1.04, allocations: 133.4 kB / 1.542 GB, free: 15 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.04, allocations: 80 kB / 1.542 GB, free: 14.92 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.041, allocations: 0.9181 MB / 1.543 GB, free: 13.91 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/1.041, allocations: 15.88 kB / 1.543 GB, free: 13.9 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/1.041, allocations: 32 kB / 1.543 GB, free: 13.87 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/1.041, allocations: 20 kB / 1.543 GB, free: 13.85 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/1.042, allocations: 0.511 MB / 1.544 GB, free: 13.34 MB / 1.232 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.004778/1.047, allocations: 4.866 MB / 1.548 GB, free: 8.164 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/1.048, allocations: 404.7 kB / 1.549 GB, free: 7.641 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/1.048, allocations: 255.9 kB / 1.549 GB, free: 7.348 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/1.048, allocations: 101.2 kB / 1.549 GB, free: 7.23 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/1.048, allocations: 62.64 kB / 1.549 GB, free: 7.16 MB / 1.232 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/1.048, allocations: 0 / 1.549 GB, free: 7.16 MB / 1.232 GB Notification: Performance of matching and sorting (n=31): time 0.001734/1.05, allocations: 0.7784 MB / 1.55 GB, free: 6.332 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/1.05, allocations: 401.7 kB / 1.55 GB, free: 5.848 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.052, allocations: 1.271 MB / 1.552 GB, free: 4.566 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/1.052, allocations: 41.7 kB / 1.552 GB, free: 4.52 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/1.052, allocations: 0.5499 MB / 1.552 GB, free: 3.965 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/1.052, allocations: 111.1 kB / 1.552 GB, free: 3.855 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/1.052, allocations: 85.64 kB / 1.552 GB, free: 3.766 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.052, allocations: 321.9 kB / 1.553 GB, free: 3.445 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/1.053, allocations: 87.94 kB / 1.553 GB, free: 3.359 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/1.053, allocations: 342.2 kB / 1.553 GB, free: 2.93 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/1.054, allocations: 332.5 kB / 1.553 GB, free: 2.559 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.054, allocations: 0 / 1.553 GB, free: 2.559 MB / 1.232 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008555/1.054, allocations: 0.4943 MB / 1.554 GB, free: 2.051 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.054, allocations: 7.938 kB / 1.554 GB, free: 2.043 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.054, allocations: 4 kB / 1.554 GB, free: 2.039 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/1.055, allocations: 77.7 kB / 1.554 GB, free: 1.957 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/1.055, allocations: 55.91 kB / 1.554 GB, free: 1.902 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/1.058, allocations: 3.27 MB / 1.557 GB, free: 14.35 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/1.058, allocations: 99.34 kB / 1.557 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/1.058, allocations: 16 kB / 1.557 GB, free: 14.24 MB / 1.248 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.0003777/1.059, allocations: 277.8 kB / 1.558 GB, free: 13.96 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/1.059, allocations: 143.1 kB / 1.558 GB, free: 13.82 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/1.059, allocations: 131.9 kB / 1.558 GB, free: 13.68 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.059, allocations: 7.938 kB / 1.558 GB, free: 13.68 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.059, allocations: 4 kB / 1.558 GB, free: 13.67 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.059, allocations: 4.141 kB / 1.558 GB, free: 13.67 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/1.062, allocations: 2.52 MB / 1.56 GB, free: 11 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.062, allocations: 7.984 kB / 1.56 GB, free: 11 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/1.063, allocations: 51.91 kB / 1.56 GB, free: 10.95 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/1.063, allocations: 74.36 kB / 1.56 GB, free: 10.87 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/1.063, allocations: 12 kB / 1.56 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/1.065, allocations: 3.267 MB / 1.564 GB, free: 7.312 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.065, allocations: 7.938 kB / 1.564 GB, free: 7.305 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/1.066, allocations: 0.6814 MB / 1.564 GB, free: 6.531 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/1.067, allocations: 248.1 kB / 1.565 GB, free: 6.27 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.067, allocations: 15.98 kB / 1.565 GB, free: 6.254 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/1.067, allocations: 43.95 kB / 1.565 GB, free: 6.211 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/1.067, allocations: 40.03 kB / 1.565 GB, free: 6.172 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.067, allocations: 23.98 kB / 1.565 GB, free: 6.148 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001175/1.069, allocations: 0.8841 MB / 1.566 GB, free: 5.266 MB / 1.248 GB Notification: Performance of sort global known variables: time 6e-08/1.069, allocations: 0 / 1.566 GB, free: 5.266 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009496/1.07, allocations: 251.8 kB / 1.566 GB, free: 5.02 MB / 1.248 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.001549/1.071, allocations: 1.333 MB / 1.567 GB, free: 3.594 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009119/1.072, allocations: 0.5165 MB / 1.568 GB, free: 3.051 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.072, allocations: 4 kB / 1.568 GB, free: 3.047 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005362/1.073, allocations: 399 kB / 1.568 GB, free: 2.633 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.076, allocations: 0.7415 MB / 1.569 GB, free: 1.895 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.087, allocations: 8.252 MB / 1.577 GB, free: 9.289 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/1.087, allocations: 1.134 MB / 1.578 GB, free: 8.125 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000654/1.088, allocations: 242.5 kB / 1.578 GB, free: 7.883 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/1.088, allocations: 443.3 kB / 1.579 GB, free: 7.449 MB / 1.264 GB Notification: Performance of SimCode: time 9.42e-07/1.088, allocations: 0 / 1.579 GB, free: 7.449 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07336/1.162, allocations: 34.39 MB / 1.612 GB, free: 5.535 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.12, allocations: 10.88 kB / 1.612 GB, free: 5.527 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable res11.m_flow in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res11.m_flow from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res21.m_flow in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res21.m_flow from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res31.dp in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res31.dp from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res41.dp in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res41.dp from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.490817839003284]