Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 214 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.263/3.263, allocations: 0.4892 GB / 0.7944 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 61.97 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3719, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.205/0.5769, allocations: 143.1 MB / 1.465 GB, free: 2.711 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005342/0.5822, allocations: 2.752 MB / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006738/0.5829, allocations: 23.81 kB / 1.468 GB, free: 15.93 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.5838, allocations: 186.8 kB / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.5864, allocations: 0.8089 MB / 1.468 GB, free: 14.94 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.5875, allocations: 359.2 kB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.5893, allocations: 0.9586 MB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.5898, allocations: 210.5 kB / 1.47 GB, free: 13.41 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.5909, allocations: 394.6 kB / 1.47 GB, free: 13.03 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.5921, allocations: 302.9 kB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.5922, allocations: 32 kB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.5936, allocations: 0.5337 MB / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.5939, allocations: 135.5 kB / 1.471 GB, free: 12.04 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.5943, allocations: 175.2 kB / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.596, allocations: 0.7397 MB / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.596, allocations: 0 / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.004e-06/0.596, allocations: 0 / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.5961, allocations: 0 / 1.472 GB, free: 11.12 MB / 1.17 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.001624/0.5977, allocations: 0.6562 MB / 1.473 GB, free: 10.43 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.5977, allocations: 8.031 kB / 1.473 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.5978, allocations: 54.55 kB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.599, allocations: 143.6 kB / 1.473 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.5999, allocations: 368 kB / 1.473 GB, free: 9.832 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.5999, allocations: 16.5 kB / 1.473 GB, free: 9.816 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.5999, allocations: 24 kB / 1.473 GB, free: 9.793 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.6006, allocations: 377.6 kB / 1.474 GB, free: 9.391 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.6006, allocations: 0 / 1.474 GB, free: 9.391 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.6006, allocations: 12 kB / 1.474 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.6007, allocations: 8.5 kB / 1.474 GB, free: 9.371 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.6011, allocations: 201.8 kB / 1.474 GB, free: 9.172 MB / 1.17 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.00193/0.603, allocations: 0.8427 MB / 1.475 GB, free: 8.285 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.6034, allocations: 182.9 kB / 1.475 GB, free: 8.098 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.6036, allocations: 76.83 kB / 1.475 GB, free: 8.02 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.6036, allocations: 15.86 kB / 1.475 GB, free: 8.004 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.6036, allocations: 42.56 kB / 1.475 GB, free: 7.953 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.864e-06/0.6036, allocations: 0 / 1.475 GB, free: 7.953 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001048/0.6047, allocations: 320.3 kB / 1.475 GB, free: 7.633 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.6047, allocations: 59.34 kB / 1.476 GB, free: 7.562 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.6051, allocations: 300.6 kB / 1.476 GB, free: 7.262 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.6052, allocations: 33.7 kB / 1.476 GB, free: 7.223 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.6053, allocations: 196.3 kB / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.6054, allocations: 71.38 kB / 1.476 GB, free: 6.953 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.6055, allocations: 45.7 kB / 1.476 GB, free: 6.902 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6057, allocations: 338.8 kB / 1.476 GB, free: 6.562 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.6058, allocations: 63.97 kB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.606, allocations: 116.3 kB / 1.477 GB, free: 6.367 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.6063, allocations: 203.4 kB / 1.477 GB, free: 6.148 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6063, allocations: 0 / 1.477 GB, free: 6.148 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004341/0.6067, allocations: 247 kB / 1.477 GB, free: 5.902 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6067, allocations: 8 kB / 1.477 GB, free: 5.895 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6067, allocations: 0 / 1.477 GB, free: 5.895 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.6068, allocations: 4.188 kB / 1.477 GB, free: 5.891 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.607, allocations: 51.91 kB / 1.477 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.607, allocations: 0 / 1.477 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.6073, allocations: 19.84 kB / 1.477 GB, free: 5.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.6073, allocations: 8 kB / 1.477 GB, free: 5.812 MB / 1.17 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.0002126/0.6075, allocations: 166.2 kB / 1.477 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.6076, allocations: 39.69 kB / 1.477 GB, free: 5.602 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.6077, allocations: 35.02 kB / 1.477 GB, free: 5.562 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6077, allocations: 4 kB / 1.477 GB, free: 5.559 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6077, allocations: 4 kB / 1.477 GB, free: 5.555 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6077, allocations: 4 kB / 1.477 GB, free: 5.551 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.6083, allocations: 324.5 kB / 1.478 GB, free: 5.191 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6083, allocations: 0 / 1.478 GB, free: 5.191 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.6085, allocations: 35.92 kB / 1.478 GB, free: 5.156 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.6087, allocations: 48.75 kB / 1.478 GB, free: 5.105 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.6087, allocations: 4 kB / 1.478 GB, free: 5.102 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.6103, allocations: 1.401 MB / 1.479 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6103, allocations: 3.938 kB / 1.479 GB, free: 3.586 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.6109, allocations: 397.8 kB / 1.48 GB, free: 3.18 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.611, allocations: 51.73 kB / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.6111, allocations: 7.938 kB / 1.48 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.6113, allocations: 7.984 kB / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.6114, allocations: 11.98 kB / 1.48 GB, free: 3.102 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.6114, allocations: 11.92 kB / 1.48 GB, free: 3.09 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002651/0.6117, allocations: 223 kB / 1.48 GB, free: 2.875 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6117, allocations: 64 / 1.48 GB, free: 2.875 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004565/0.6121, allocations: 111.8 kB / 1.48 GB, free: 2.766 MB / 1.17 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.001067/0.6132, allocations: 0.9424 MB / 1.481 GB, free: 1.797 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.6135, allocations: 155.9 kB / 1.481 GB, free: 1.645 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6135, allocations: 0 / 1.481 GB, free: 1.645 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.6139, allocations: 192.8 kB / 1.481 GB, free: 1.445 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6149, allocations: 206.1 kB / 1.481 GB, free: 1.242 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.619, allocations: 2.928 MB / 1.484 GB, free: 14.2 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.6192, allocations: 194 kB / 1.484 GB, free: 13.99 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002804/0.6195, allocations: 55.25 kB / 1.484 GB, free: 13.93 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.6197, allocations: 107.4 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/0.6197, allocations: 3.938 kB / 1.485 GB, free: 13.82 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05188/0.6716, allocations: 10.28 MB / 1.495 GB, free: 3.832 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.61, allocations: 11.09 kB / 1.495 GB, free: 3.824 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.59347617905587]