Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.007438/0.007438, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001533/0.001533, allocations: 197 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.752/2.752, allocations: 469.4 MB / 0.7422 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.288, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7619/1.05, allocations: 162.4 MB / 1.378 GB, free: 6.711 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004631/1.055, allocations: 2.93 MB / 1.381 GB, free: 4.641 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006042/1.055, allocations: 15.53 kB / 1.381 GB, free: 4.637 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007549/1.056, allocations: 211.2 kB / 1.381 GB, free: 4.523 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/1.058, allocations: 0.8022 MB / 1.382 GB, free: 4.004 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/1.059, allocations: 343.5 kB / 1.382 GB, free: 3.738 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001367/1.061, allocations: 0.9447 MB / 1.383 GB, free: 3.188 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/1.061, allocations: 249.7 kB / 1.384 GB, free: 3.027 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007092/1.062, allocations: 356.2 kB / 1.384 GB, free: 2.816 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009542/1.063, allocations: 283.8 kB / 1.384 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.332e-05/1.063, allocations: 33.44 kB / 1.384 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/1.064, allocations: 0.6483 MB / 1.385 GB, free: 2.297 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/1.064, allocations: 136.1 kB / 1.385 GB, free: 2.199 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003264/1.065, allocations: 211.1 kB / 1.385 GB, free: 2.066 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/1.066, allocations: 0.7523 MB / 1.386 GB, free: 1.582 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.066, allocations: 5.031 kB / 1.386 GB, free: 1.578 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.432e-06/1.066, allocations: 0 / 1.386 GB, free: 1.578 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.921e-05/1.066, allocations: 0 / 1.386 GB, free: 1.578 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.001389/1.067, allocations: 0.7265 MB / 1.387 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.067, allocations: 9.344 kB / 1.387 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.98e-05/1.067, allocations: 64.91 kB / 1.387 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/1.069, allocations: 139.8 kB / 1.387 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/1.069, allocations: 420.9 kB / 1.387 GB, free: 460 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/1.069, allocations: 17.78 kB / 1.387 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/1.069, allocations: 36.94 kB / 1.387 GB, free: 432 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/1.07, allocations: 278.6 kB / 1.388 GB, free: 252 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/1.07, allocations: 3.938 kB / 1.388 GB, free: 248 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/1.07, allocations: 10.38 kB / 1.388 GB, free: 240 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/1.07, allocations: 13.27 kB / 1.388 GB, free: 232 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/1.07, allocations: 198.2 kB / 1.388 GB, free: 132 kB / 1.076 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.001891/1.072, allocations: 1.319 MB / 1.389 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/1.073, allocations: 191.9 kB / 1.389 GB, free: 14.79 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/1.073, allocations: 91.59 kB / 1.389 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/1.073, allocations: 2.344 kB / 1.389 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/1.073, allocations: 31.78 kB / 1.389 GB, free: 14.7 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/1.073, allocations: 0 / 1.389 GB, free: 14.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.0009993/1.074, allocations: 411.9 kB / 1.39 GB, free: 14.41 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/1.074, allocations: 53.75 kB / 1.39 GB, free: 14.35 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/1.074, allocations: 298.8 kB / 1.39 GB, free: 14.16 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/1.074, allocations: 34.55 kB / 1.39 GB, free: 14.12 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/1.074, allocations: 199.1 kB / 1.39 GB, free: 13.94 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/1.075, allocations: 68.12 kB / 1.39 GB, free: 13.88 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/1.075, allocations: 44.81 kB / 1.39 GB, free: 13.85 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.075, allocations: 337.9 kB / 1.391 GB, free: 13.52 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/1.075, allocations: 63.84 kB / 1.391 GB, free: 13.48 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/1.075, allocations: 128.1 kB / 1.391 GB, free: 13.38 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/1.075, allocations: 197.8 kB / 1.391 GB, free: 13.24 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.075, allocations: 2.062 kB / 1.391 GB, free: 13.24 MB / 1.092 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003933/1.076, allocations: 245.5 kB / 1.391 GB, free: 13.1 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.076, allocations: 8.781 kB / 1.391 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.076, allocations: 2.656 kB / 1.391 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.076, allocations: 2.438 kB / 1.391 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/1.076, allocations: 43.08 kB / 1.391 GB, free: 13.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.076, allocations: 7.156 kB / 1.391 GB, free: 13.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/1.076, allocations: 22.39 kB / 1.392 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/1.076, allocations: 11.19 kB / 1.392 GB, free: 13.07 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.000156/1.076, allocations: 158.4 kB / 1.392 GB, free: 12.92 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/1.077, allocations: 35.56 kB / 1.392 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.734e-05/1.077, allocations: 39.61 kB / 1.392 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.077, allocations: 5.984 kB / 1.392 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.077, allocations: 5.031 kB / 1.392 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.077, allocations: 0 / 1.392 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/1.077, allocations: 405.5 kB / 1.392 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.077, allocations: 5.125 kB / 1.392 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/1.077, allocations: 37.64 kB / 1.392 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/1.078, allocations: 46.22 kB / 1.392 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/1.078, allocations: 6.719 kB / 1.392 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/1.079, allocations: 1.51 MB / 1.394 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.079, allocations: 0 / 1.394 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/1.08, allocations: 406 kB / 1.394 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/1.08, allocations: 126.2 kB / 1.394 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/1.08, allocations: 13.92 kB / 1.394 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/1.08, allocations: 6.188 kB / 1.394 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/1.08, allocations: 10.89 kB / 1.394 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/1.08, allocations: 9.938 kB / 1.394 GB, free: 10.49 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000247/1.08, allocations: 212.5 kB / 1.394 GB, free: 10.35 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.1e-07/1.08, allocations: 0 / 1.394 GB, free: 10.35 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004708/1.081, allocations: 112.2 kB / 1.395 GB, free: 10.33 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.0009235/1.082, allocations: 0.9428 MB / 1.395 GB, free: 9.516 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00033/1.082, allocations: 166.9 kB / 1.396 GB, free: 9.441 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.082, allocations: 1.188 kB / 1.396 GB, free: 9.441 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/1.083, allocations: 199.8 kB / 1.396 GB, free: 9.285 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.084, allocations: 195.5 kB / 1.396 GB, free: 9.195 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/1.087, allocations: 2.936 MB / 1.399 GB, free: 6.98 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/1.088, allocations: 0.7962 MB / 1.4 GB, free: 6.23 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002789/1.088, allocations: 57.16 kB / 1.4 GB, free: 6.203 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/1.088, allocations: 110.7 kB / 1.4 GB, free: 6.113 MB / 1.092 GB Notification: Performance of SimCode: time 4.91e-07/1.088, allocations: 0 / 1.4 GB, free: 6.113 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/1.118, allocations: 8.987 MB / 1.409 GB, free: 1.703 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.596/10.71, allocations: 18.92 kB / 1.409 GB, free: 1.688 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches