Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.00929/0.009289, allocations: 102.7 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7593, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2688/1.028, allocations: 241.9 MB / 1.324 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01866/1.047, allocations: 13.54 MB / 1.337 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/1.049, allocations: 67.5 kB / 1.337 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/1.052, allocations: 0.9782 MB / 1.338 GB, free: 13 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/1.056, allocations: 1.783 MB / 1.34 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/1.059, allocations: 1.234 MB / 1.341 GB, free: 9.992 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004395/1.064, allocations: 3.262 MB / 1.344 GB, free: 6.715 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/1.066, allocations: 1.051 MB / 1.345 GB, free: 5.645 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008997/1.075, allocations: 4.133 MB / 1.349 GB, free: 1.496 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/1.076, allocations: 0.8982 MB / 1.35 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/1.076, allocations: 80 kB / 1.35 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/1.078, allocations: 0.7014 MB / 1.351 GB, free: 15.81 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005168/1.079, allocations: 434.6 kB / 1.351 GB, free: 15.39 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.08, allocations: 0.6761 MB / 1.352 GB, free: 14.71 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/1.082, allocations: 1.522 MB / 1.353 GB, free: 13.18 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.082, allocations: 0 / 1.353 GB, free: 13.18 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.132e-06/1.082, allocations: 8 kB / 1.353 GB, free: 13.17 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.677e-05/1.082, allocations: 0 / 1.353 GB, free: 13.17 MB / 1.092 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.00255/1.084, allocations: 1.619 MB / 1.355 GB, free: 11.5 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.085, allocations: 8.031 kB / 1.355 GB, free: 11.49 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/1.085, allocations: 126.7 kB / 1.355 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/1.085, allocations: 194.2 kB / 1.355 GB, free: 11.16 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/1.087, allocations: 0.9166 MB / 1.356 GB, free: 10.19 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/1.087, allocations: 117.4 kB / 1.356 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/1.087, allocations: 88 kB / 1.356 GB, free: 9.98 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.089, allocations: 0.922 MB / 1.357 GB, free: 8.969 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.089, allocations: 3.938 kB / 1.357 GB, free: 8.965 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/1.089, allocations: 35.98 kB / 1.357 GB, free: 8.93 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/1.089, allocations: 24 kB / 1.357 GB, free: 8.906 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008884/1.09, allocations: 0.5032 MB / 1.358 GB, free: 8.398 MB / 1.092 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.004522/1.094, allocations: 4.853 MB / 1.363 GB, free: 3.238 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/1.095, allocations: 424.7 kB / 1.363 GB, free: 2.695 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/1.095, allocations: 259.8 kB / 1.363 GB, free: 2.398 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.095, allocations: 105.1 kB / 1.363 GB, free: 2.277 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/1.095, allocations: 58.44 kB / 1.363 GB, free: 2.211 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/1.095, allocations: 0 / 1.363 GB, free: 2.211 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001776/1.097, allocations: 0.786 MB / 1.364 GB, free: 1.375 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/1.097, allocations: 401.5 kB / 1.364 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/1.099, allocations: 1.271 MB / 1.366 GB, free: 15.61 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/1.099, allocations: 37.7 kB / 1.366 GB, free: 15.57 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/1.099, allocations: 0.5456 MB / 1.366 GB, free: 15.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/1.099, allocations: 118.5 kB / 1.366 GB, free: 14.9 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/1.099, allocations: 77.61 kB / 1.366 GB, free: 14.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/1.099, allocations: 321.9 kB / 1.367 GB, free: 14.5 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/1.1, allocations: 95.92 kB / 1.367 GB, free: 14.4 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/1.1, allocations: 338.2 kB / 1.367 GB, free: 13.98 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/1.101, allocations: 324.6 kB / 1.368 GB, free: 13.61 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.101, allocations: 4 kB / 1.368 GB, free: 13.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008433/1.101, allocations: 493.5 kB / 1.368 GB, free: 13.11 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.101, allocations: 11.94 kB / 1.368 GB, free: 13.1 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.101, allocations: 4 kB / 1.368 GB, free: 13.1 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/1.102, allocations: 69.67 kB / 1.368 GB, free: 13.02 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/1.102, allocations: 55.91 kB / 1.368 GB, free: 12.97 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/1.104, allocations: 3.254 MB / 1.371 GB, free: 9.438 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/1.105, allocations: 99.23 kB / 1.371 GB, free: 9.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/1.105, allocations: 19.98 kB / 1.371 GB, free: 9.32 MB / 1.107 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.0003666/1.105, allocations: 277.6 kB / 1.372 GB, free: 9.039 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/1.106, allocations: 138.3 kB / 1.372 GB, free: 8.902 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/1.106, allocations: 132 kB / 1.372 GB, free: 8.77 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/1.106, allocations: 7.938 kB / 1.372 GB, free: 8.762 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.106, allocations: 4 kB / 1.372 GB, free: 8.758 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.106, allocations: 11.92 kB / 1.372 GB, free: 8.746 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/1.109, allocations: 2.52 MB / 1.374 GB, free: 6.082 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.109, allocations: 4 kB / 1.374 GB, free: 6.078 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/1.109, allocations: 43.92 kB / 1.374 GB, free: 6.035 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/1.11, allocations: 81.73 kB / 1.375 GB, free: 5.949 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/1.11, allocations: 8.25 kB / 1.375 GB, free: 5.941 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/1.112, allocations: 3.258 MB / 1.378 GB, free: 2.402 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/1.112, allocations: 15.94 kB / 1.378 GB, free: 2.387 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/1.113, allocations: 0.6767 MB / 1.378 GB, free: 1.617 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/1.113, allocations: 247.4 kB / 1.379 GB, free: 1.355 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1.113, allocations: 12 kB / 1.379 GB, free: 1.344 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/1.114, allocations: 43.94 kB / 1.379 GB, free: 1.301 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/1.114, allocations: 35.84 kB / 1.379 GB, free: 1.266 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/1.114, allocations: 20 kB / 1.379 GB, free: 1.246 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001108/1.115, allocations: 0.8763 MB / 1.38 GB, free: 380 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 0 / 1.38 GB, free: 380 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.001014/1.116, allocations: 263.7 kB / 1.38 GB, free: 116 kB / 1.107 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.001522/1.118, allocations: 1.328 MB / 1.381 GB, free: 14.69 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009473/1.119, allocations: 0.5208 MB / 1.382 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.119, allocations: 4.531 kB / 1.382 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/1.119, allocations: 410.3 kB / 1.382 GB, free: 13.71 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/1.122, allocations: 0.7424 MB / 1.383 GB, free: 12.98 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.133, allocations: 8.204 MB / 1.391 GB, free: 4.422 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/1.134, allocations: 1.138 MB / 1.392 GB, free: 3.254 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000763/1.134, allocations: 242.5 kB / 1.392 GB, free: 3.012 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/1.135, allocations: 435.3 kB / 1.393 GB, free: 2.586 MB / 1.123 GB Notification: Performance of SimCode: time 7.82e-07/1.135, allocations: 0 / 1.393 GB, free: 2.586 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06615/1.201, allocations: 34.23 MB / 1.426 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.71, allocations: 7.688 kB / 1.426 GB, free: 0.9062 MB / 1.154 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches