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.001669/0.001669, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002214/0.002214, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.76/2.76, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00218/0.00218, allocations: 70.8 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3254, allocations: 170 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.184/0.5094, allocations: 143.1 MB / 1.422 GB, free: 12.85 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.5142, allocations: 2.743 MB / 1.425 GB, free: 10.1 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005457/0.5148, allocations: 19.81 kB / 1.425 GB, free: 10.08 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007138/0.5155, allocations: 190.9 kB / 1.425 GB, free: 9.895 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.5176, allocations: 0.8167 MB / 1.426 GB, free: 9.074 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.5184, allocations: 349.5 kB / 1.426 GB, free: 8.734 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.5199, allocations: 0.9624 MB / 1.427 GB, free: 7.77 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.5202, allocations: 210.5 kB / 1.427 GB, free: 7.559 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006916/0.5209, allocations: 366.5 kB / 1.428 GB, free: 7.199 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009553/0.5219, allocations: 288.5 kB / 1.428 GB, free: 6.918 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.522, allocations: 36 kB / 1.428 GB, free: 6.883 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.5231, allocations: 0.5298 MB / 1.429 GB, free: 6.352 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.5233, allocations: 131.5 kB / 1.429 GB, free: 6.223 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.5235, allocations: 179.2 kB / 1.429 GB, free: 6.047 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.5246, allocations: 0.7358 MB / 1.43 GB, free: 5.309 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5246, allocations: 0 / 1.43 GB, free: 5.309 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5246, allocations: 0 / 1.43 GB, free: 5.309 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5246, allocations: 3.938 kB / 1.43 GB, free: 5.305 MB / 1.123 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.001263/0.5259, allocations: 0.6562 MB / 1.43 GB, free: 4.617 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5259, allocations: 8.031 kB / 1.43 GB, free: 4.609 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.086e-05/0.526, allocations: 58.53 kB / 1.43 GB, free: 4.543 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5271, allocations: 139.6 kB / 1.43 GB, free: 4.406 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.5278, allocations: 360 kB / 1.431 GB, free: 4.027 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.5278, allocations: 24.48 kB / 1.431 GB, free: 4.004 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.5279, allocations: 24 kB / 1.431 GB, free: 3.98 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.5284, allocations: 373.6 kB / 1.431 GB, free: 3.578 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.5285, allocations: 3.984 kB / 1.431 GB, free: 3.574 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.5285, allocations: 12 kB / 1.431 GB, free: 3.562 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.5285, allocations: 12.48 kB / 1.431 GB, free: 3.551 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.5289, allocations: 197.8 kB / 1.431 GB, free: 3.359 MB / 1.123 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.001664/0.5306, allocations: 0.835 MB / 1.432 GB, free: 2.477 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.531, allocations: 188.8 kB / 1.432 GB, free: 2.285 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.5311, allocations: 89.05 kB / 1.433 GB, free: 2.195 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.5311, allocations: 4 kB / 1.433 GB, free: 2.191 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.5312, allocations: 46.5 kB / 1.433 GB, free: 2.137 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.5312, allocations: 8 kB / 1.433 GB, free: 2.129 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.0009511/0.5321, allocations: 316.2 kB / 1.433 GB, free: 1.812 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.5322, allocations: 59.34 kB / 1.433 GB, free: 1.742 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.5325, allocations: 296.6 kB / 1.433 GB, free: 1.445 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.5325, allocations: 37.7 kB / 1.433 GB, free: 1.402 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.5327, allocations: 192.3 kB / 1.433 GB, free: 1.211 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.5328, allocations: 71.38 kB / 1.433 GB, free: 1.141 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.5329, allocations: 45.7 kB / 1.434 GB, free: 1.09 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5331, allocations: 338.8 kB / 1.434 GB, free: 0.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.5332, allocations: 67.91 kB / 1.434 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.5334, allocations: 112.4 kB / 1.434 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.5337, allocations: 204.1 kB / 1.434 GB, free: 344 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5337, allocations: 0 / 1.434 GB, free: 344 kB / 1.123 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003935/0.534, allocations: 245.2 kB / 1.434 GB, free: 92 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5341, allocations: 11.98 kB / 1.434 GB, free: 80 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5341, allocations: 0 / 1.434 GB, free: 80 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5341, allocations: 4 kB / 1.434 GB, free: 76 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.5343, allocations: 44.11 kB / 1.435 GB, free: 32 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5343, allocations: 4 kB / 1.435 GB, free: 28 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.5346, allocations: 23.84 kB / 1.435 GB, free: 4 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.5346, allocations: 8.047 kB / 1.435 GB, free: 15.99 MB / 1.139 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.0001824/0.5348, allocations: 165.7 kB / 1.435 GB, free: 15.82 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.5349, allocations: 35.75 kB / 1.435 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.535, allocations: 35.02 kB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.535, allocations: 4 kB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.535, allocations: 0 / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.535, allocations: 0 / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.5355, allocations: 324.5 kB / 1.435 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5355, allocations: 11.92 kB / 1.435 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.5357, allocations: 43.86 kB / 1.435 GB, free: 15.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002372/0.5359, allocations: 40.81 kB / 1.435 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.5359, allocations: 8 kB / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.5373, allocations: 1.393 MB / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5373, allocations: 64 / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.5379, allocations: 409.9 kB / 1.437 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.538, allocations: 51.78 kB / 1.437 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.5381, allocations: 11.92 kB / 1.437 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.5383, allocations: 4 kB / 1.437 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.5384, allocations: 15.92 kB / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.5384, allocations: 7.984 kB / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002372/0.5386, allocations: 219.1 kB / 1.437 GB, free: 13.05 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5386, allocations: 0 / 1.437 GB, free: 13.05 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004162/0.539, allocations: 99.89 kB / 1.437 GB, free: 12.95 MB / 1.139 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.000961/0.54, allocations: 0.9484 MB / 1.438 GB, free: 11.98 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.5403, allocations: 155.9 kB / 1.438 GB, free: 11.83 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5403, allocations: 3.938 kB / 1.438 GB, free: 11.82 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.5406, allocations: 196.3 kB / 1.439 GB, free: 11.62 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.5416, allocations: 203 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.5453, allocations: 2.934 MB / 1.442 GB, free: 8.387 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.5455, allocations: 198 kB / 1.442 GB, free: 8.176 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000239/0.5457, allocations: 59.25 kB / 1.442 GB, free: 8.117 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.5459, allocations: 103.4 kB / 1.442 GB, free: 8.016 MB / 1.139 GB Notification: Performance of SimCode: time 7.31e-07/0.5459, allocations: 0 / 1.442 GB, free: 8.016 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/0.5922, allocations: 10.26 MB / 1.452 GB, free: 14.06 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.77, allocations: 8.703 kB / 1.452 GB, free: 14.06 MB / 1.154 GB " [Timeout remaining time 287] (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/jenkins1/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: 19.47275699255988]