Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_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.005123/0.005123, allocations: 95.28 kB / 15.73 MB, free: 6.051 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.001297/0.001297, allocations: 195.2 kB / 16.67 MB, free: 5.977 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: 4.316 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.577/2.577, allocations: 437.1 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2701, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7027/0.9729, allocations: 162.4 MB / 1.325 GB, free: 7.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004593/0.9775, allocations: 2.921 MB / 1.328 GB, free: 5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.9779, allocations: 14.59 kB / 1.328 GB, free: 4.996 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007422/0.9787, allocations: 213.5 kB / 1.328 GB, free: 4.879 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.9807, allocations: 0.7962 MB / 1.329 GB, free: 4.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.9815, allocations: 352 kB / 1.329 GB, free: 4.242 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.9828, allocations: 0.9427 MB / 1.33 GB, free: 3.801 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.9831, allocations: 251.5 kB / 1.33 GB, free: 3.688 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.9837, allocations: 349.7 kB / 1.33 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.9845, allocations: 295 kB / 1.331 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.9846, allocations: 33.69 kB / 1.331 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.9858, allocations: 0.6423 MB / 1.331 GB, free: 3.141 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.986, allocations: 134.2 kB / 1.331 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.9863, allocations: 212 kB / 1.332 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.9874, allocations: 0.7567 MB / 1.332 GB, free: 2.691 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9874, allocations: 0 / 1.332 GB, free: 2.691 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9874, allocations: 0 / 1.332 GB, free: 2.691 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.9874, allocations: 0 / 1.332 GB, free: 2.691 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001126/0.9885, allocations: 0.7289 MB / 1.333 GB, free: 2.105 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.9886, allocations: 9.531 kB / 1.333 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.9887, allocations: 58.38 kB / 1.333 GB, free: 2.055 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.9897, allocations: 143.4 kB / 1.333 GB, free: 2.016 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.9904, allocations: 426.2 kB / 1.334 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.9904, allocations: 18.69 kB / 1.334 GB, free: 1.688 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.9904, allocations: 24.38 kB / 1.334 GB, free: 1.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.9909, allocations: 274.4 kB / 1.334 GB, free: 1.547 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.9909, allocations: 1.25 kB / 1.334 GB, free: 1.547 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.991, allocations: 20.31 kB / 1.334 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.991, allocations: 9.844 kB / 1.334 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.9914, allocations: 197.3 kB / 1.334 GB, free: 1.461 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.001759/0.9931, allocations: 1.327 MB / 1.336 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.9935, allocations: 192.6 kB / 1.336 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.9937, allocations: 89.59 kB / 1.336 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.9937, allocations: 1.375 kB / 1.336 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.9937, allocations: 40.34 kB / 1.336 GB, free: 224 kB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.9937, allocations: 5.375 kB / 1.336 GB, free: 220 kB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0009474/0.9947, allocations: 409 kB / 1.336 GB, free: 15.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.9947, allocations: 54.09 kB / 1.336 GB, free: 15.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.9951, allocations: 299 kB / 1.337 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.9951, allocations: 31.05 kB / 1.337 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.9952, allocations: 196.9 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.9953, allocations: 70.12 kB / 1.337 GB, free: 15.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.246e-05/0.9954, allocations: 44.42 kB / 1.337 GB, free: 15.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.9956, allocations: 337.9 kB / 1.337 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.9957, allocations: 68.11 kB / 1.337 GB, free: 15.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.9958, allocations: 111.2 kB / 1.337 GB, free: 15.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.9961, allocations: 197.7 kB / 1.338 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9961, allocations: 1.094 kB / 1.338 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003719/0.9965, allocations: 244.5 kB / 1.338 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.9965, allocations: 9.875 kB / 1.338 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9965, allocations: 5.656 kB / 1.338 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9966, allocations: 3.875 kB / 1.338 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.9968, allocations: 47.61 kB / 1.338 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.9968, allocations: 2.75 kB / 1.338 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.9971, allocations: 16.92 kB / 1.338 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.9971, allocations: 7.125 kB / 1.338 GB, free: 14.75 MB / 1.029 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.0001595/0.9973, allocations: 164.8 kB / 1.338 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.9974, allocations: 34.94 kB / 1.338 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.65e-05/0.9974, allocations: 40.3 kB / 1.338 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.9974, allocations: 6.656 kB / 1.338 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9975, allocations: 0 / 1.338 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9975, allocations: 3.734 kB / 1.338 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.998, allocations: 402.1 kB / 1.339 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.998, allocations: 0 / 1.339 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.9982, allocations: 36.02 kB / 1.339 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.9984, allocations: 44.53 kB / 1.339 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.9984, allocations: 9.312 kB / 1.339 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.9997, allocations: 1.518 MB / 1.34 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9997, allocations: 7.734 kB / 1.34 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/1, allocations: 403.3 kB / 1.341 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/1, allocations: 129.8 kB / 1.341 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/1, allocations: 6.281 kB / 1.341 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/1.001, allocations: 10.31 kB / 1.341 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/1.001, allocations: 13.3 kB / 1.341 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/1.001, allocations: 9.812 kB / 1.341 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002229/1.001, allocations: 216.9 kB / 1.341 GB, free: 12.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.001, allocations: 0 / 1.341 GB, free: 12.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004175/1.001, allocations: 103.6 kB / 1.341 GB, free: 12.22 MB / 1.029 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.0009079/1.002, allocations: 0.9474 MB / 1.342 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003334/1.003, allocations: 169.3 kB / 1.342 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.003, allocations: 5.562 kB / 1.342 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/1.003, allocations: 196.7 kB / 1.342 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.004, allocations: 196 kB / 1.342 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/1.008, allocations: 2.927 MB / 1.345 GB, free: 9.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/1.008, allocations: 0.7956 MB / 1.346 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002523/1.008, allocations: 65.55 kB / 1.346 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/1.009, allocations: 103.2 kB / 1.346 GB, free: 8.355 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/1.009, allocations: 0 / 1.346 GB, free: 8.355 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/1.04, allocations: 8.989 MB / 1.355 GB, free: 6.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.752/10.79, allocations: 7.094 kB / 1.355 GB, free: 6.32 MB / 1.029 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches