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.00155/0.00155, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002111/0.002111, allocations: 208.7 kB / 23.04 MB, free: 5.074 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.343/3.343, allocations: 0.49 GB / 0.7959 GB, free: 33.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_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.002033/0.002033, allocations: 64.05 kB / 1.155 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4243, allocations: 176.1 MB / 1.327 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2114/0.6357, allocations: 166 MB / 1.489 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005651/0.6414, allocations: 2.946 MB / 1.492 GB, free: 8.477 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.6422, allocations: 19.81 kB / 1.492 GB, free: 8.457 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008775/0.6431, allocations: 218.8 kB / 1.492 GB, free: 8.242 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.6455, allocations: 0.8207 MB / 1.493 GB, free: 7.418 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.6466, allocations: 356.5 kB / 1.493 GB, free: 7.07 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.6483, allocations: 0.978 MB / 1.494 GB, free: 6.09 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.6487, allocations: 210.5 kB / 1.494 GB, free: 5.879 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009216/0.6496, allocations: 394.6 kB / 1.494 GB, free: 5.492 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.6507, allocations: 300.2 kB / 1.495 GB, free: 5.199 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.6508, allocations: 36 kB / 1.495 GB, free: 5.164 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.6524, allocations: 0.6936 MB / 1.495 GB, free: 4.469 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.6526, allocations: 147.5 kB / 1.496 GB, free: 4.324 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.6529, allocations: 215 kB / 1.496 GB, free: 4.113 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.6543, allocations: 0.7514 MB / 1.497 GB, free: 3.359 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6543, allocations: 0 / 1.497 GB, free: 3.359 MB / 1.186 GB Notification: Performance of FrontEnd: time 6.402e-06/0.6543, allocations: 4 kB / 1.497 GB, free: 3.355 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.6543, allocations: 3.938 kB / 1.497 GB, free: 3.352 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.001272/0.6556, allocations: 0.6523 MB / 1.497 GB, free: 2.668 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.6556, allocations: 8.031 kB / 1.497 GB, free: 2.66 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.376e-05/0.6557, allocations: 8.5 kB / 1.497 GB, free: 2.652 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.6557, allocations: 62.53 kB / 1.497 GB, free: 2.582 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.6568, allocations: 143.5 kB / 1.497 GB, free: 2.441 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.6576, allocations: 348.1 kB / 1.498 GB, free: 2.07 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.6576, allocations: 32.42 kB / 1.498 GB, free: 2.039 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.6577, allocations: 24 kB / 1.498 GB, free: 2.016 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.6582, allocations: 274.8 kB / 1.498 GB, free: 1.734 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.6582, allocations: 0 / 1.498 GB, free: 1.734 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.6582, allocations: 8 kB / 1.498 GB, free: 1.727 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.6583, allocations: 12.5 kB / 1.498 GB, free: 1.715 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.6586, allocations: 209.7 kB / 1.498 GB, free: 1.508 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.002101/0.6607, allocations: 1.276 MB / 1.5 GB, free: 104 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.6612, allocations: 190.8 kB / 1.5 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.6613, allocations: 80.83 kB / 1.5 GB, free: 15.82 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.6614, allocations: 4 kB / 1.5 GB, free: 15.82 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.6614, allocations: 42.5 kB / 1.5 GB, free: 15.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 2.644e-06/0.6614, allocations: 4 kB / 1.5 GB, free: 15.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001063/0.6625, allocations: 315.8 kB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.6625, allocations: 51.41 kB / 1.5 GB, free: 15.39 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.6629, allocations: 308.5 kB / 1.5 GB, free: 15.08 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.6629, allocations: 29.7 kB / 1.501 GB, free: 15.04 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.6631, allocations: 200.3 kB / 1.501 GB, free: 14.84 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.798e-05/0.6632, allocations: 71.38 kB / 1.501 GB, free: 14.77 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.6633, allocations: 45.7 kB / 1.501 GB, free: 14.72 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6635, allocations: 338.8 kB / 1.501 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.6636, allocations: 63.97 kB / 1.501 GB, free: 14.32 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.6638, allocations: 119.9 kB / 1.501 GB, free: 14.18 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.6641, allocations: 195.6 kB / 1.502 GB, free: 13.97 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6641, allocations: 3.938 kB / 1.502 GB, free: 13.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004686/0.6645, allocations: 250.9 kB / 1.502 GB, free: 13.71 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6646, allocations: 4 kB / 1.502 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6646, allocations: 7.984 kB / 1.502 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.6646, allocations: 4 kB / 1.502 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.6648, allocations: 48.11 kB / 1.502 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6648, allocations: 4 kB / 1.502 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.6651, allocations: 19.84 kB / 1.502 GB, free: 13.63 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.6651, allocations: 11.94 kB / 1.502 GB, free: 13.62 MB / 1.201 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.0002041/0.6653, allocations: 158.3 kB / 1.502 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.6654, allocations: 39.69 kB / 1.502 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.6655, allocations: 39.02 kB / 1.502 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6655, allocations: 4 kB / 1.502 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.6655, allocations: 3.984 kB / 1.502 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6655, allocations: 4 kB / 1.502 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.6661, allocations: 376.3 kB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.6661, allocations: 3.938 kB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.6663, allocations: 31.98 kB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/0.6665, allocations: 40.77 kB / 1.503 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.6665, allocations: 11.98 kB / 1.503 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.6679, allocations: 1.401 MB / 1.504 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6679, allocations: 4.031 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.6686, allocations: 398 kB / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.6688, allocations: 63.7 kB / 1.504 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.6688, allocations: 0 / 1.504 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.6691, allocations: 15.98 kB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.6691, allocations: 11.98 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.6691, allocations: 4 kB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002589/0.6694, allocations: 223 kB / 1.505 GB, free: 10.63 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6694, allocations: 3.938 kB / 1.505 GB, free: 10.62 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004609/0.6698, allocations: 103.9 kB / 1.505 GB, free: 10.52 MB / 1.201 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.001054/0.6709, allocations: 0.945 MB / 1.506 GB, free: 9.551 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.6712, allocations: 151.9 kB / 1.506 GB, free: 9.402 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6712, allocations: 384 / 1.506 GB, free: 9.402 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.6716, allocations: 202.5 kB / 1.506 GB, free: 9.191 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6727, allocations: 196.5 kB / 1.506 GB, free: 9.004 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.6766, allocations: 2.94 MB / 1.509 GB, free: 5.957 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.6771, allocations: 0.796 MB / 1.51 GB, free: 5.137 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002812/0.6774, allocations: 67.23 kB / 1.51 GB, free: 5.07 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.6776, allocations: 103.4 kB / 1.51 GB, free: 4.969 MB / 1.201 GB Notification: Performance of SimCode: time 8.92e-07/0.6776, allocations: 3.938 kB / 1.51 GB, free: 4.965 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.7165, allocations: 9.275 MB / 1.519 GB, free: 11.93 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.21, allocations: 4 kB / 1.519 GB, free: 11.93 MB / 1.217 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: 20.48812094598543]