Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.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 11.1.0-maint.11.x/package.mo", uses=false) 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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",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.004491/0.004491, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001325/0.001325, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 72.09 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.282, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7094/0.9915, allocations: 162.4 MB / 1.379 GB, free: 6.297 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004791/0.9963, allocations: 2.923 MB / 1.382 GB, free: 4.234 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.9969, allocations: 14.91 kB / 1.382 GB, free: 4.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.9977, allocations: 203.2 kB / 1.382 GB, free: 4.121 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.9997, allocations: 0.7738 MB / 1.383 GB, free: 3.594 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/1.001, allocations: 345 kB / 1.383 GB, free: 3.324 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001448/1.002, allocations: 0.9417 MB / 1.384 GB, free: 2.777 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/1.003, allocations: 253 kB / 1.384 GB, free: 2.613 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/1.003, allocations: 342 kB / 1.384 GB, free: 2.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/1.004, allocations: 281.9 kB / 1.385 GB, free: 2.246 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.316e-05/1.004, allocations: 33.56 kB / 1.385 GB, free: 2.246 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/1.006, allocations: 0.6437 MB / 1.385 GB, free: 1.895 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/1.006, allocations: 124.5 kB / 1.385 GB, free: 1.809 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003369/1.006, allocations: 222.8 kB / 1.386 GB, free: 1.664 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/1.008, allocations: 0.754 MB / 1.386 GB, free: 1.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.008, allocations: 1.094 kB / 1.386 GB, free: 1.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/1.008, allocations: 0 / 1.386 GB, free: 1.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.748e-05/1.008, allocations: 3.938 kB / 1.386 GB, free: 1.176 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001461/1.009, allocations: 0.7327 MB / 1.387 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.009, allocations: 10.22 kB / 1.387 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.983e-05/1.009, allocations: 62.31 kB / 1.387 GB, free: 484 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/1.01, allocations: 132.2 kB / 1.387 GB, free: 428 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/1.011, allocations: 424.3 kB / 1.388 GB, free: 44 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/1.011, allocations: 18.59 kB / 1.388 GB, free: 36 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/1.011, allocations: 31.47 kB / 1.388 GB, free: 20 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/1.012, allocations: 279.4 kB / 1.388 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.012, allocations: 0 / 1.388 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/1.012, allocations: 6.75 kB / 1.388 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/1.012, allocations: 12.97 kB / 1.388 GB, free: 15.83 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/1.012, allocations: 199.4 kB / 1.388 GB, free: 15.73 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.001898/1.014, allocations: 1.321 MB / 1.389 GB, free: 14.5 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/1.014, allocations: 186.9 kB / 1.39 GB, free: 14.4 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/1.015, allocations: 100.5 kB / 1.39 GB, free: 14.34 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/1.015, allocations: 2.406 kB / 1.39 GB, free: 14.34 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.015, allocations: 32.44 kB / 1.39 GB, free: 14.3 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/1.015, allocations: 0 / 1.39 GB, free: 14.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.0009784/1.016, allocations: 415.8 kB / 1.39 GB, free: 14.02 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/1.016, allocations: 52.69 kB / 1.39 GB, free: 13.95 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/1.016, allocations: 298.7 kB / 1.391 GB, free: 13.76 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/1.016, allocations: 31.11 kB / 1.391 GB, free: 13.72 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.016, allocations: 202.1 kB / 1.391 GB, free: 13.54 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/1.016, allocations: 69 kB / 1.391 GB, free: 13.48 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/1.016, allocations: 44.66 kB / 1.391 GB, free: 13.45 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.017, allocations: 338.4 kB / 1.391 GB, free: 13.11 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/1.017, allocations: 63.25 kB / 1.391 GB, free: 13.08 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/1.017, allocations: 123.8 kB / 1.391 GB, free: 12.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/1.017, allocations: 189.3 kB / 1.392 GB, free: 12.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.017, allocations: 0.9688 kB / 1.392 GB, free: 12.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004005/1.018, allocations: 250.8 kB / 1.392 GB, free: 12.7 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.018, allocations: 10.34 kB / 1.392 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.018, allocations: 1.062 kB / 1.392 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.018, allocations: 3.406 kB / 1.392 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/1.018, allocations: 47.02 kB / 1.392 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.018, allocations: 4.031 kB / 1.392 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/1.018, allocations: 12.36 kB / 1.392 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/1.018, allocations: 14.34 kB / 1.392 GB, free: 12.67 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/1.018, allocations: 165.9 kB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/1.018, allocations: 35.22 kB / 1.392 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/1.019, allocations: 39.61 kB / 1.392 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.019, allocations: 6.328 kB / 1.392 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.019, allocations: 1.938 kB / 1.392 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.019, allocations: 0 / 1.392 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/1.019, allocations: 398.4 kB / 1.392 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.019, allocations: 0 / 1.392 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/1.019, allocations: 45.39 kB / 1.393 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00021/1.02, allocations: 46.78 kB / 1.393 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.02, allocations: 6.25 kB / 1.393 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/1.021, allocations: 1.518 MB / 1.394 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.021, allocations: 0.875 kB / 1.394 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/1.022, allocations: 400.4 kB / 1.394 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/1.022, allocations: 122.6 kB / 1.395 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/1.022, allocations: 14.14 kB / 1.395 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/1.022, allocations: 6.219 kB / 1.395 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/1.022, allocations: 14.61 kB / 1.395 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/1.022, allocations: 8.469 kB / 1.395 GB, free: 10.1 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002413/1.022, allocations: 211.9 kB / 1.395 GB, free: 9.957 MB / 1.092 GB Notification: Performance of sort global known variables: time 2e-07/1.022, allocations: 0 / 1.395 GB, free: 9.957 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004288/1.023, allocations: 108.4 kB / 1.395 GB, free: 9.938 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009578/1.024, allocations: 0.9536 MB / 1.396 GB, free: 9.117 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003024/1.024, allocations: 166.5 kB / 1.396 GB, free: 9.043 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.024, allocations: 1.094 kB / 1.396 GB, free: 9.043 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/1.024, allocations: 200.1 kB / 1.396 GB, free: 8.887 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.025, allocations: 203 kB / 1.396 GB, free: 8.797 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/1.029, allocations: 2.933 MB / 1.399 GB, free: 6.586 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/1.03, allocations: 0.8007 MB / 1.4 GB, free: 5.828 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000254/1.03, allocations: 61.77 kB / 1.4 GB, free: 5.797 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/1.03, allocations: 109.7 kB / 1.4 GB, free: 5.707 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/1.03, allocations: 0 / 1.4 GB, free: 5.707 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/1.065, allocations: 8.977 MB / 1.409 GB, free: 1.316 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.62/10.69, allocations: 14.05 kB / 1.409 GB, free: 1.305 MB / 1.092 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches