Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PressureDropsSeries,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 183.1 kB / 16.66 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3121, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.8456/1.158, allocations: 161.5 MB / 1.324 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003058/1.161, allocations: 1.714 MB / 1.326 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/1.161, allocations: 13.69 kB / 1.326 GB, free: 6.508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006082/1.162, allocations: 157.8 kB / 1.326 GB, free: 6.414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/1.163, allocations: 0.5379 MB / 1.326 GB, free: 6.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/1.165, allocations: 428.2 kB / 1.327 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003011/1.168, allocations: 2.463 MB / 1.329 GB, free: 4.859 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/1.169, allocations: 0.9264 MB / 1.33 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/1.171, allocations: 0.9448 MB / 1.331 GB, free: 4.125 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/1.172, allocations: 0.7113 MB / 1.332 GB, free: 3.816 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/1.173, allocations: 56.16 kB / 1.332 GB, free: 3.816 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/1.174, allocations: 0.7496 MB / 1.332 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/1.175, allocations: 310 kB / 1.333 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000729/1.176, allocations: 0.5413 MB / 1.333 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/1.177, allocations: 1.405 MB / 1.335 GB, free: 2.633 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.177, allocations: 0 / 1.335 GB, free: 2.633 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/1.177, allocations: 5.25 kB / 1.335 GB, free: 2.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.827e-05/1.177, allocations: 4 kB / 1.335 GB, free: 2.625 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002343/1.18, allocations: 1.438 MB / 1.336 GB, free: 1.633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.18, allocations: 8.438 kB / 1.336 GB, free: 1.633 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/1.18, allocations: 98.03 kB / 1.336 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000827/1.181, allocations: 192.8 kB / 1.336 GB, free: 1.484 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/1.182, allocations: 0.8527 MB / 1.337 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/1.182, allocations: 42.28 kB / 1.337 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/1.182, allocations: 59.78 kB / 1.337 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/1.183, allocations: 0.69 MB / 1.338 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.183, allocations: 0 / 1.338 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/1.184, allocations: 20.81 kB / 1.338 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.184, allocations: 11.84 kB / 1.338 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008899/1.184, allocations: 0.522 MB / 1.338 GB, free: 0.5625 MB / 1.014 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.00367/1.188, allocations: 3.237 MB / 1.342 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/1.189, allocations: 407.7 kB / 1.342 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/1.189, allocations: 235.5 kB / 1.342 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/1.189, allocations: 194 kB / 1.342 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.189, allocations: 41.27 kB / 1.342 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/1.189, allocations: 0 / 1.342 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.004887/1.194, allocations: 1.484 MB / 1.344 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.194, allocations: 59.34 kB / 1.344 GB, free: 13.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/1.196, allocations: 1.072 MB / 1.345 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/1.196, allocations: 37.48 kB / 1.345 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/1.197, allocations: 445.8 kB / 1.345 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/1.197, allocations: 103 kB / 1.346 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/1.197, allocations: 70.77 kB / 1.346 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.197, allocations: 319.7 kB / 1.346 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/1.197, allocations: 161.8 kB / 1.346 GB, free: 11.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/1.198, allocations: 363.8 kB / 1.346 GB, free: 11.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/1.198, allocations: 384.8 kB / 1.347 GB, free: 11.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.198, allocations: 0 / 1.347 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002133/1.2, allocations: 0.8101 MB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.201, allocations: 5.5 kB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.201, allocations: 5.094 kB / 1.348 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/1.202, allocations: 361 kB / 1.348 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/1.202, allocations: 17.45 kB / 1.348 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/1.203, allocations: 1.008 MB / 1.349 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/1.204, allocations: 54.39 kB / 1.349 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/1.204, allocations: 9.625 kB / 1.349 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007674/1.205, allocations: 455 kB / 1.349 GB, free: 10.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004402/1.206, allocations: 309.8 kB / 1.35 GB, free: 9.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005558/1.206, allocations: 311.2 kB / 1.35 GB, free: 9.859 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.676e-06/1.206, allocations: 1.188 kB / 1.35 GB, free: 9.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001447/1.208, allocations: 0.6059 MB / 1.351 GB, free: 9.625 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.208, allocations: 7 kB / 1.351 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/1.208, allocations: 1.156 kB / 1.351 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/1.208, allocations: 202 kB / 1.351 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/1.208, allocations: 22.33 kB / 1.351 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/1.213, allocations: 3.306 MB / 1.354 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/1.214, allocations: 44.86 kB / 1.354 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/1.214, allocations: 14.17 kB / 1.354 GB, free: 7.297 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001764/1.214, allocations: 192 kB / 1.354 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/1.214, allocations: 104.2 kB / 1.354 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/1.215, allocations: 0.7094 MB / 1.355 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.215, allocations: 2.5 kB / 1.355 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.215, allocations: 3.984 kB / 1.355 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.215, allocations: 3.938 kB / 1.355 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/1.218, allocations: 1.505 MB / 1.357 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.218, allocations: 2.156 kB / 1.357 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.218, allocations: 17.55 kB / 1.357 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/1.219, allocations: 241.9 kB / 1.357 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/1.219, allocations: 7.5 kB / 1.357 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/1.22, allocations: 0.973 MB / 1.358 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.22, allocations: 6.562 kB / 1.358 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/1.221, allocations: 0.8021 MB / 1.359 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/1.221, allocations: 216.6 kB / 1.359 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.222, allocations: 8.125 kB / 1.359 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/1.222, allocations: 24.31 kB / 1.359 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/1.222, allocations: 25.53 kB / 1.359 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/1.222, allocations: 12.23 kB / 1.359 GB, free: 4.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001161/1.223, allocations: 0.7701 MB / 1.36 GB, free: 3.645 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.51e-07/1.223, allocations: 0 / 1.36 GB, free: 3.645 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001302/1.225, allocations: 400.3 kB / 1.36 GB, free: 3.59 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/1.226, allocations: 1.335 MB / 1.361 GB, free: 2.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001501/1.228, allocations: 0.7593 MB / 1.362 GB, free: 2.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.228, allocations: 10.69 kB / 1.362 GB, free: 2.102 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/1.228, allocations: 210.3 kB / 1.362 GB, free: 2.008 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/1.231, allocations: 487.4 kB / 1.363 GB, free: 1.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.244, allocations: 8.168 MB / 1.371 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/1.245, allocations: 1.182 MB / 1.372 GB, free: 12.14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006635/1.246, allocations: 207.9 kB / 1.372 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/1.246, allocations: 312.2 kB / 1.372 GB, free: 11.79 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/1.246, allocations: 4 kB / 1.372 GB, free: 11.79 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05735/1.303, allocations: 28.49 MB / 1.4 GB, free: 4.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.28, allocations: 0 / 1.4 GB, free: 4.434 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches