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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.459/2.459, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001774/0.001774, allocations: 67.89 kB / 1.107 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.7529, allocations: 168.7 MB / 1.271 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1744/0.9273, allocations: 163.1 MB / 1.431 GB, free: 14.22 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004353/0.9317, allocations: 2.945 MB / 1.433 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.932, allocations: 18.91 kB / 1.433 GB, free: 11.83 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.9326, allocations: 215.7 kB / 1.434 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.9343, allocations: 0.8052 MB / 1.434 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.935, allocations: 349.4 kB / 1.435 GB, free: 10.77 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.9362, allocations: 0.9486 MB / 1.436 GB, free: 10.21 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.9364, allocations: 213.9 kB / 1.436 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.9369, allocations: 352.3 kB / 1.436 GB, free: 9.848 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007476/0.9377, allocations: 315 kB / 1.437 GB, free: 9.656 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.9377, allocations: 32.88 kB / 1.437 GB, free: 9.656 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.9388, allocations: 0.6954 MB / 1.437 GB, free: 9.262 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.939, allocations: 132.7 kB / 1.437 GB, free: 9.168 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.9392, allocations: 214.3 kB / 1.438 GB, free: 9.031 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0009799/0.9402, allocations: 0.7527 MB / 1.438 GB, free: 8.547 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9402, allocations: 0 / 1.438 GB, free: 8.547 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9402, allocations: 0 / 1.438 GB, free: 8.547 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.9402, allocations: 0 / 1.438 GB, free: 8.547 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.001046/0.9412, allocations: 0.7294 MB / 1.439 GB, free: 7.91 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.9413, allocations: 13.56 kB / 1.439 GB, free: 7.906 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/0.9413, allocations: 54.8 kB / 1.439 GB, free: 7.852 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009152/0.9423, allocations: 135.3 kB / 1.439 GB, free: 7.793 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.9428, allocations: 428.6 kB / 1.44 GB, free: 7.414 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.9428, allocations: 17.84 kB / 1.44 GB, free: 7.406 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.9429, allocations: 33.23 kB / 1.44 GB, free: 7.391 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.9433, allocations: 273.9 kB / 1.44 GB, free: 7.215 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.9433, allocations: 0 / 1.44 GB, free: 7.215 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.9433, allocations: 10.78 kB / 1.44 GB, free: 7.207 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.9434, allocations: 9.625 kB / 1.44 GB, free: 7.203 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.9437, allocations: 198.6 kB / 1.44 GB, free: 7.109 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.001607/0.9453, allocations: 1.314 MB / 1.441 GB, free: 5.879 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.9457, allocations: 186.4 kB / 1.442 GB, free: 5.773 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.9458, allocations: 83.61 kB / 1.442 GB, free: 5.727 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.9458, allocations: 2.594 kB / 1.442 GB, free: 5.727 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.9458, allocations: 39.94 kB / 1.442 GB, free: 5.68 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.9458, allocations: 0 / 1.442 GB, free: 5.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.0008767/0.9467, allocations: 406.6 kB / 1.442 GB, free: 5.402 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.9467, allocations: 54.03 kB / 1.442 GB, free: 5.34 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.947, allocations: 298.6 kB / 1.442 GB, free: 5.148 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.947, allocations: 34.98 kB / 1.443 GB, free: 5.109 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.9472, allocations: 201.8 kB / 1.443 GB, free: 4.926 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.9472, allocations: 69.23 kB / 1.443 GB, free: 4.867 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.9473, allocations: 44.95 kB / 1.443 GB, free: 4.832 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9475, allocations: 345.3 kB / 1.443 GB, free: 4.492 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.9476, allocations: 65.47 kB / 1.443 GB, free: 4.457 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.9477, allocations: 119.5 kB / 1.443 GB, free: 4.32 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.948, allocations: 191.6 kB / 1.444 GB, free: 4.113 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.948, allocations: 3.938 kB / 1.444 GB, free: 4.109 MB / 1.123 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003569/0.9483, allocations: 251.5 kB / 1.444 GB, free: 3.859 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.9483, allocations: 8 kB / 1.444 GB, free: 3.852 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.9483, allocations: 0 / 1.444 GB, free: 3.852 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.9484, allocations: 4 kB / 1.444 GB, free: 3.848 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.9486, allocations: 51.91 kB / 1.444 GB, free: 3.797 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9486, allocations: 0 / 1.444 GB, free: 3.797 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.9488, allocations: 28.06 kB / 1.444 GB, free: 3.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.9488, allocations: 4 kB / 1.444 GB, free: 3.766 MB / 1.123 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.0001517/0.949, allocations: 161.7 kB / 1.444 GB, free: 3.598 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.949, allocations: 35.75 kB / 1.444 GB, free: 3.562 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.23e-05/0.9491, allocations: 39.08 kB / 1.444 GB, free: 3.516 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9491, allocations: 4 kB / 1.444 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.9491, allocations: 0 / 1.444 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.9491, allocations: 0 / 1.444 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.9496, allocations: 405.3 kB / 1.444 GB, free: 3.066 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9496, allocations: 4 kB / 1.444 GB, free: 3.062 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.9498, allocations: 39.86 kB / 1.444 GB, free: 3.023 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.95, allocations: 36.83 kB / 1.445 GB, free: 2.984 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.95, allocations: 8 kB / 1.445 GB, free: 2.977 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.9512, allocations: 1.512 MB / 1.446 GB, free: 1.328 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9513, allocations: 4.031 kB / 1.446 GB, free: 1.324 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.9518, allocations: 400.8 kB / 1.446 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.9519, allocations: 133.2 kB / 1.447 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.952, allocations: 3.938 kB / 1.447 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.9522, allocations: 13.88 kB / 1.447 GB, free: 0.75 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.9522, allocations: 15.88 kB / 1.447 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.9523, allocations: 11.98 kB / 1.447 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002129/0.9525, allocations: 223 kB / 1.447 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.9525, allocations: 0 / 1.447 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003753/0.9529, allocations: 99.89 kB / 1.447 GB, free: 416 kB / 1.123 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.0008915/0.9537, allocations: 0.9478 MB / 1.448 GB, free: 15.43 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000275/0.954, allocations: 161.5 kB / 1.448 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.954, allocations: 0 / 1.448 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.9543, allocations: 190.7 kB / 1.448 GB, free: 15.07 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.9552, allocations: 202.8 kB / 1.448 GB, free: 14.88 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.9585, allocations: 2.937 MB / 1.451 GB, free: 11.84 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.9589, allocations: 0.7997 MB / 1.452 GB, free: 11.01 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001953/0.9591, allocations: 63.25 kB / 1.452 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.9592, allocations: 103.4 kB / 1.452 GB, free: 10.84 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/0.9592, allocations: 0 / 1.452 GB, free: 10.84 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.9961, allocations: 9.04 MB / 1.461 GB, free: 2 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/9.938, allocations: 18.11 kB / 1.461 GB, free: 1.988 MB / 1.139 GB " [Timeout remaining time 290] (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 --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: 15.18148643999848]