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.001397/0.001397, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001571/0.001571, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.587/1.587, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.425/3.425, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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.002174/0.002174, allocations: 70 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.41, allocations: 176.1 MB / 1.321 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2119/0.622, allocations: 165.8 MB / 1.483 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005848/0.6278, allocations: 2.936 MB / 1.486 GB, free: 9.973 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007224/0.6285, allocations: 23.81 kB / 1.486 GB, free: 9.949 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.6294, allocations: 210.8 kB / 1.486 GB, free: 9.742 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.6322, allocations: 0.805 MB / 1.487 GB, free: 8.934 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.6333, allocations: 342.2 kB / 1.487 GB, free: 8.602 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001865/0.6352, allocations: 0.9459 MB / 1.488 GB, free: 7.652 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.6356, allocations: 206.3 kB / 1.488 GB, free: 7.449 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009486/0.6366, allocations: 402.5 kB / 1.488 GB, free: 7.055 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.6377, allocations: 298.8 kB / 1.489 GB, free: 6.762 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.6378, allocations: 39.98 kB / 1.489 GB, free: 6.723 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.6394, allocations: 0.6819 MB / 1.489 GB, free: 6.039 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.6396, allocations: 135.6 kB / 1.49 GB, free: 5.906 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.64, allocations: 215 kB / 1.49 GB, free: 5.695 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.642, allocations: 0.7553 MB / 1.49 GB, free: 4.938 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.642, allocations: 0 / 1.49 GB, free: 4.938 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.314e-06/0.642, allocations: 4 kB / 1.49 GB, free: 4.934 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.642, allocations: 0 / 1.49 GB, free: 4.934 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.001546/0.6435, allocations: 0.7237 MB / 1.491 GB, free: 4.16 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.6436, allocations: 15.98 kB / 1.491 GB, free: 4.145 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.494e-05/0.6437, allocations: 62.53 kB / 1.491 GB, free: 4.074 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.6449, allocations: 143.6 kB / 1.491 GB, free: 3.934 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.6457, allocations: 422.6 kB / 1.492 GB, free: 3.477 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.6458, allocations: 20.56 kB / 1.492 GB, free: 3.457 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.6458, allocations: 24 kB / 1.492 GB, free: 3.434 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.6463, allocations: 271.7 kB / 1.492 GB, free: 3.16 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.6464, allocations: 0 / 1.492 GB, free: 3.16 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.6464, allocations: 16 kB / 1.492 GB, free: 3.145 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.6464, allocations: 8.562 kB / 1.492 GB, free: 3.137 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.6468, allocations: 202.1 kB / 1.492 GB, free: 2.934 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.002072/0.6489, allocations: 1.33 MB / 1.494 GB, free: 1.461 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.6493, allocations: 184.9 kB / 1.494 GB, free: 1.273 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.6495, allocations: 88.83 kB / 1.494 GB, free: 1.184 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.6495, allocations: 0 / 1.494 GB, free: 1.184 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.6495, allocations: 38.56 kB / 1.494 GB, free: 1.137 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.6495, allocations: 0 / 1.494 GB, free: 1.137 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.00109/0.6506, allocations: 407.5 kB / 1.494 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.6506, allocations: 55.41 kB / 1.494 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.651, allocations: 296.6 kB / 1.495 GB, free: 356 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.6511, allocations: 29.7 kB / 1.495 GB, free: 320 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.6512, allocations: 192.3 kB / 1.495 GB, free: 124 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/0.6513, allocations: 75.31 kB / 1.495 GB, free: 48 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/0.6514, allocations: 45.78 kB / 1.495 GB, free: 15.99 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6516, allocations: 342.8 kB / 1.495 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.6517, allocations: 63.97 kB / 1.495 GB, free: 15.59 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.6518, allocations: 113.9 kB / 1.495 GB, free: 15.45 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.6522, allocations: 203.4 kB / 1.496 GB, free: 15.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6522, allocations: 0 / 1.496 GB, free: 15.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004164/0.6526, allocations: 251.1 kB / 1.496 GB, free: 14.98 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6526, allocations: 8 kB / 1.496 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-06/0.6526, allocations: 0 / 1.496 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.6526, allocations: 7.984 kB / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.6528, allocations: 43.92 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6529, allocations: 4 kB / 1.496 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.6531, allocations: 19.84 kB / 1.496 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.6532, allocations: 8 kB / 1.496 GB, free: 14.89 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.00021/0.6534, allocations: 161.8 kB / 1.496 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.6535, allocations: 39.72 kB / 1.496 GB, free: 14.69 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.722e-05/0.6536, allocations: 39.08 kB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6536, allocations: 3.938 kB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6536, allocations: 0 / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6536, allocations: 0 / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.6542, allocations: 409.2 kB / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6542, allocations: 4 kB / 1.497 GB, free: 14.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.6544, allocations: 39.86 kB / 1.497 GB, free: 14.15 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.6546, allocations: 44.83 kB / 1.497 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.6546, allocations: 4 kB / 1.497 GB, free: 14.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.6562, allocations: 1.508 MB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6562, allocations: 4 kB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.6569, allocations: 402 kB / 1.499 GB, free: 12.04 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.657, allocations: 132.9 kB / 1.499 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.6571, allocations: 7.938 kB / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.6573, allocations: 12.06 kB / 1.499 GB, free: 11.87 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.6574, allocations: 7.984 kB / 1.499 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.6574, allocations: 7.984 kB / 1.499 GB, free: 11.86 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002608/0.6576, allocations: 219.1 kB / 1.499 GB, free: 11.64 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6576, allocations: 0 / 1.499 GB, free: 11.64 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004476/0.6581, allocations: 107.8 kB / 1.499 GB, free: 11.54 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.001149/0.6592, allocations: 0.9411 MB / 1.5 GB, free: 10.57 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.6596, allocations: 159.8 kB / 1.5 GB, free: 10.41 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6596, allocations: 0 / 1.5 GB, free: 10.41 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.6599, allocations: 202.6 kB / 1.5 GB, free: 10.2 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6609, allocations: 200.3 kB / 1.501 GB, free: 10.01 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.6649, allocations: 2.93 MB / 1.503 GB, free: 6.969 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.6654, allocations: 0.7921 MB / 1.504 GB, free: 6.148 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002824/0.6657, allocations: 63.19 kB / 1.504 GB, free: 6.086 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.6658, allocations: 107.4 kB / 1.504 GB, free: 5.98 MB / 1.201 GB Notification: Performance of SimCode: time 8.11e-07/0.6658, allocations: 0 / 1.504 GB, free: 5.98 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.7089, allocations: 9.051 MB / 1.513 GB, free: 13.12 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.59, allocations: 14.17 kB / 1.513 GB, free: 13.11 MB / 1.217 GB " [Timeout remaining time 288] (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: 18.814123742980883]