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.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.001347/0.001347, allocations: 119 kB / 17.17 MB, free: 5.906 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.001563/0.001563, allocations: 211 kB / 20.13 MB, free: 2.965 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.596/1.596, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.218/3.218, allocations: 0.5003 GB / 0.8026 GB, free: 6.672 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",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.002237/0.002237, allocations: 75.88 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2644/1.398, allocations: 165.8 MB / 1.502 GB, free: 2.348 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005593/1.403, allocations: 2.922 MB / 1.505 GB, free: 15.42 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007481/1.404, allocations: 23.81 kB / 1.505 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008083/1.405, allocations: 222.8 kB / 1.505 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/1.407, allocations: 0.8031 MB / 1.506 GB, free: 14.37 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009523/1.408, allocations: 349.7 kB / 1.506 GB, free: 14.03 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001549/1.41, allocations: 0.9428 MB / 1.507 GB, free: 13.08 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/1.41, allocations: 218.2 kB / 1.507 GB, free: 12.87 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/1.411, allocations: 386.6 kB / 1.508 GB, free: 12.49 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/1.412, allocations: 302.8 kB / 1.508 GB, free: 12.19 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/1.412, allocations: 36 kB / 1.508 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/1.414, allocations: 0.6897 MB / 1.509 GB, free: 11.46 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/1.414, allocations: 135.6 kB / 1.509 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002876/1.414, allocations: 215 kB / 1.509 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/1.416, allocations: 0.7514 MB / 1.51 GB, free: 10.37 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.416, allocations: 3.938 kB / 1.51 GB, free: 10.36 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.352e-06/1.416, allocations: 0 / 1.51 GB, free: 10.36 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.416, allocations: 0 / 1.51 GB, free: 10.36 MB / 1.186 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.001375/1.417, allocations: 0.7355 MB / 1.511 GB, free: 9.578 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.417, allocations: 8.031 kB / 1.511 GB, free: 9.57 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.128e-05/1.417, allocations: 8.562 kB / 1.511 GB, free: 9.562 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.141e-05/1.417, allocations: 62.53 kB / 1.511 GB, free: 9.492 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.418, allocations: 143.5 kB / 1.511 GB, free: 9.352 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/1.419, allocations: 422.6 kB / 1.511 GB, free: 8.898 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/1.419, allocations: 20.56 kB / 1.511 GB, free: 8.879 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/1.419, allocations: 24 kB / 1.511 GB, free: 8.855 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/1.42, allocations: 267.7 kB / 1.511 GB, free: 8.586 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/1.42, allocations: 0 / 1.511 GB, free: 8.586 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/1.42, allocations: 12 kB / 1.511 GB, free: 8.574 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/1.42, allocations: 12.55 kB / 1.511 GB, free: 8.559 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/1.42, allocations: 202 kB / 1.512 GB, free: 8.363 MB / 1.186 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.002152/1.422, allocations: 1.327 MB / 1.513 GB, free: 6.895 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/1.423, allocations: 188.8 kB / 1.513 GB, free: 6.703 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/1.423, allocations: 90.31 kB / 1.513 GB, free: 6.613 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/1.423, allocations: 4 kB / 1.513 GB, free: 6.609 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.529e-05/1.423, allocations: 34.56 kB / 1.513 GB, free: 6.566 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/1.423, allocations: 0 / 1.513 GB, free: 6.566 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001102/1.424, allocations: 397.4 kB / 1.514 GB, free: 6.152 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/1.424, allocations: 59.41 kB / 1.514 GB, free: 6.082 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/1.425, allocations: 304.5 kB / 1.514 GB, free: 5.777 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/1.425, allocations: 29.7 kB / 1.514 GB, free: 5.742 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/1.425, allocations: 196.3 kB / 1.514 GB, free: 5.547 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.774e-05/1.425, allocations: 75.38 kB / 1.514 GB, free: 5.473 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/1.425, allocations: 37.72 kB / 1.514 GB, free: 5.43 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.425, allocations: 342.8 kB / 1.515 GB, free: 5.086 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/1.425, allocations: 71.97 kB / 1.515 GB, free: 5.016 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/1.425, allocations: 115.7 kB / 1.515 GB, free: 4.883 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/1.426, allocations: 201.7 kB / 1.515 GB, free: 4.664 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/1.426, allocations: 4 kB / 1.515 GB, free: 4.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004327/1.426, allocations: 251.8 kB / 1.515 GB, free: 4.41 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.426, allocations: 5.094 kB / 1.515 GB, free: 4.406 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.426, allocations: 0 / 1.515 GB, free: 4.406 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.426, allocations: 8.188 kB / 1.515 GB, free: 4.398 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/1.426, allocations: 43.92 kB / 1.515 GB, free: 4.355 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.426, allocations: 11.92 kB / 1.515 GB, free: 4.344 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/1.427, allocations: 15.89 kB / 1.515 GB, free: 4.328 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/1.427, allocations: 4 kB / 1.515 GB, free: 4.324 MB / 1.186 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.0002074/1.427, allocations: 169.7 kB / 1.516 GB, free: 4.148 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/1.427, allocations: 31.75 kB / 1.516 GB, free: 4.117 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/1.427, allocations: 43.02 kB / 1.516 GB, free: 4.074 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.427, allocations: 0 / 1.516 GB, free: 4.074 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.427, allocations: 4 kB / 1.516 GB, free: 4.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.427, allocations: 0 / 1.516 GB, free: 4.07 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/1.428, allocations: 405.3 kB / 1.516 GB, free: 3.625 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.428, allocations: 7.938 kB / 1.516 GB, free: 3.617 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.428, allocations: 31.92 kB / 1.516 GB, free: 3.586 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/1.428, allocations: 44.83 kB / 1.516 GB, free: 3.539 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.428, allocations: 4 kB / 1.516 GB, free: 3.535 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/1.43, allocations: 1.516 MB / 1.518 GB, free: 1.879 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.43, allocations: 0 / 1.518 GB, free: 1.879 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/1.43, allocations: 401.9 kB / 1.518 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/1.431, allocations: 132.9 kB / 1.518 GB, free: 1.32 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/1.431, allocations: 8 kB / 1.518 GB, free: 1.312 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/1.431, allocations: 5.719 kB / 1.518 GB, free: 1.309 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/1.431, allocations: 11.98 kB / 1.518 GB, free: 1.297 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.431, allocations: 4 kB / 1.518 GB, free: 1.293 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002613/1.431, allocations: 227 kB / 1.518 GB, free: 1.074 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.431, allocations: 0 / 1.518 GB, free: 1.074 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004721/1.432, allocations: 107.8 kB / 1.518 GB, free: 0.9688 MB / 1.186 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.001066/1.433, allocations: 0.9395 MB / 1.519 GB, free: 0 / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003656/1.433, allocations: 157.7 kB / 1.519 GB, free: 15.85 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.433, allocations: 384 / 1.519 GB, free: 15.85 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/1.433, allocations: 202.6 kB / 1.52 GB, free: 15.64 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.434, allocations: 193.8 kB / 1.52 GB, free: 15.45 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/1.439, allocations: 2.936 MB / 1.523 GB, free: 12.4 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/1.439, allocations: 0.7921 MB / 1.523 GB, free: 11.59 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003052/1.439, allocations: 63.23 kB / 1.524 GB, free: 11.53 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/1.44, allocations: 107.4 kB / 1.524 GB, free: 11.42 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/1.44, allocations: 0 / 1.524 GB, free: 11.42 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/1.477, allocations: 9.093 MB / 1.533 GB, free: 2.543 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.91, allocations: 15.34 kB / 1.533 GB, free: 2.531 MB / 1.201 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.01273371098796]