Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008607/0.0008607, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009585/0.0009585, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9063/0.9063, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.957e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5514/0.5514, allocations: 143.1 MB / 1.09 GB, free: 39.19 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.5541, allocations: 2.741 MB / 1.093 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.5544, allocations: 23.06 kB / 1.093 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.5549, allocations: 202.3 kB / 1.093 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.5562, allocations: 0.8282 MB / 1.094 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.5567, allocations: 351.2 kB / 1.094 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007434/0.5574, allocations: 0.981 MB / 1.095 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.5577, allocations: 211.2 kB / 1.095 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.5581, allocations: 467.3 kB / 1.096 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.5586, allocations: 272 kB / 1.096 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.5587, allocations: 34.12 kB / 1.096 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.5593, allocations: 0.5331 MB / 1.097 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.5594, allocations: 150.4 kB / 1.097 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.94e-05/0.5595, allocations: 154.5 kB / 1.097 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006286/0.5601, allocations: 0.7507 MB / 1.098 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5602, allocations: 0 / 1.098 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5602, allocations: 0 / 1.098 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5602, allocations: 0 / 1.098 GB, free: 37.62 MB / 0.9948 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.0006766/0.5608, allocations: 0.6466 MB / 1.098 GB, free: 37.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5609, allocations: 13.09 kB / 1.098 GB, free: 37.13 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.5609, allocations: 62.22 kB / 1.098 GB, free: 37.08 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/0.5615, allocations: 138.7 kB / 1.098 GB, free: 37.05 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.5619, allocations: 360.2 kB / 1.099 GB, free: 36.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5619, allocations: 21.94 kB / 1.099 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.5619, allocations: 24.97 kB / 1.099 GB, free: 36.78 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.5623, allocations: 377.4 kB / 1.099 GB, free: 36.53 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5623, allocations: 4.547 kB / 1.099 GB, free: 36.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.5623, allocations: 14.94 kB / 1.099 GB, free: 36.51 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.5623, allocations: 11.95 kB / 1.099 GB, free: 36.51 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.5626, allocations: 194.7 kB / 1.099 GB, free: 36.45 MB / 0.9948 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.001047/0.5636, allocations: 0.8451 MB / 1.1 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.5639, allocations: 186.8 kB / 1.1 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.564, allocations: 86.06 kB / 1.101 GB, free: 35.76 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.564, allocations: 1.656 kB / 1.101 GB, free: 35.76 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.5641, allocations: 34.86 kB / 1.101 GB, free: 35.72 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.764e-06/0.5641, allocations: 0 / 1.101 GB, free: 35.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0006889/0.5647, allocations: 327.6 kB / 1.101 GB, free: 35.58 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.5648, allocations: 53.66 kB / 1.101 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.565, allocations: 303.2 kB / 1.101 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.5651, allocations: 27.42 kB / 1.101 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.5651, allocations: 196.5 kB / 1.101 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.5652, allocations: 73.06 kB / 1.102 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.5653, allocations: 44.39 kB / 1.102 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.5653, allocations: 343.5 kB / 1.102 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.5654, allocations: 62.91 kB / 1.102 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.5655, allocations: 116.2 kB / 1.102 GB, free: 34.62 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.5657, allocations: 195.6 kB / 1.102 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5657, allocations: 0.5312 kB / 1.102 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002808/0.566, allocations: 250.4 kB / 1.102 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.566, allocations: 6.594 kB / 1.102 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.566, allocations: 1.906 kB / 1.102 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5661, allocations: 6.75 kB / 1.102 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.5662, allocations: 43.48 kB / 1.103 GB, free: 34.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.5662, allocations: 3.641 kB / 1.103 GB, free: 34.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.5663, allocations: 20.95 kB / 1.103 GB, free: 34.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.5663, allocations: 7 kB / 1.103 GB, free: 34.35 MB / 0.9948 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.0001039/0.5664, allocations: 163.7 kB / 1.103 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.5665, allocations: 31.34 kB / 1.103 GB, free: 34.19 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.5665, allocations: 35.62 kB / 1.103 GB, free: 34.17 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5665, allocations: 6.938 kB / 1.103 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.5665, allocations: 0.7188 kB / 1.103 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5665, allocations: 1.359 kB / 1.103 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.5669, allocations: 330.7 kB / 1.103 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5669, allocations: 8.672 kB / 1.103 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.567, allocations: 30.38 kB / 1.103 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.5671, allocations: 43.59 kB / 1.103 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.5672, allocations: 5.125 kB / 1.103 GB, free: 33.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007333/0.5679, allocations: 1.408 MB / 1.105 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5679, allocations: 0 / 1.105 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.5683, allocations: 401.2 kB / 1.105 GB, free: 32.31 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.5684, allocations: 47.73 kB / 1.105 GB, free: 32.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.5684, allocations: 10.81 kB / 1.105 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.5685, allocations: 8.828 kB / 1.105 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.5685, allocations: 15.08 kB / 1.105 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.5686, allocations: 10.12 kB / 1.105 GB, free: 32.26 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001504/0.5687, allocations: 212.8 kB / 1.105 GB, free: 32.15 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.5687, allocations: 0 / 1.105 GB, free: 32.15 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003237/0.569, allocations: 112.3 kB / 1.105 GB, free: 32.12 MB / 0.9948 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.0005652/0.5696, allocations: 0.9507 MB / 1.106 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.5698, allocations: 155.7 kB / 1.106 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5698, allocations: 0 / 1.106 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.5701, allocations: 205.1 kB / 1.107 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.5707, allocations: 189.6 kB / 1.107 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.5731, allocations: 2.855 MB / 1.11 GB, free: 29.14 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.5733, allocations: 187.9 kB / 1.11 GB, free: 29.05 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.5735, allocations: 62.02 kB / 1.11 GB, free: 29.04 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.5736, allocations: 108.1 kB / 1.11 GB, free: 28.96 MB / 0.9948 GB Notification: Performance of SimCode: time 8.92e-07/0.5736, allocations: 0 / 1.11 GB, free: 28.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.6042, allocations: 10.37 MB / 1.12 GB, free: 27.27 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.818, allocations: 10.19 kB / 1.12 GB, free: 27.26 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.809177759103477]