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.001363/0.001363, allocations: 110.8 kB / 17.96 MB, free: 3.918 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.001473/0.001473, allocations: 192.4 kB / 21.22 MB, free: 0.668 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.4/1.4, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] 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.721/2.721, allocations: 476.7 MB / 0.7635 GB, free: 10.2 MB / 0.6231 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.001996/0.001996, allocations: 63.91 kB / 1.108 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 168.7 MB / 1.272 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2303/1.291, allocations: 163 MB / 1.432 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006773/1.298, allocations: 2.939 MB / 1.434 GB, free: 13.79 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009959/1.299, allocations: 15.94 kB / 1.434 GB, free: 13.78 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/1.3, allocations: 222.7 kB / 1.435 GB, free: 13.56 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/1.303, allocations: 0.8011 MB / 1.435 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/1.304, allocations: 354.2 kB / 1.436 GB, free: 12.41 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002174/1.306, allocations: 0.9429 MB / 1.437 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006332/1.307, allocations: 218.2 kB / 1.437 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/1.308, allocations: 354.6 kB / 1.437 GB, free: 10.9 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/1.31, allocations: 306.9 kB / 1.438 GB, free: 10.61 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/1.31, allocations: 35.94 kB / 1.438 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/1.312, allocations: 0.6819 MB / 1.438 GB, free: 9.887 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/1.312, allocations: 131.5 kB / 1.438 GB, free: 9.758 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005917/1.313, allocations: 219 kB / 1.439 GB, free: 9.543 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/1.315, allocations: 0.7475 MB / 1.439 GB, free: 8.793 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.315, allocations: 0 / 1.439 GB, free: 8.793 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.739e-06/1.315, allocations: 3.938 kB / 1.439 GB, free: 8.789 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.562e-05/1.315, allocations: 4 kB / 1.439 GB, free: 8.785 MB / 1.139 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.001962/1.317, allocations: 0.7238 MB / 1.44 GB, free: 8.012 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.317, allocations: 8.031 kB / 1.44 GB, free: 8.004 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/1.318, allocations: 62.53 kB / 1.44 GB, free: 7.934 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/1.319, allocations: 139.6 kB / 1.44 GB, free: 7.797 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009982/1.32, allocations: 426.6 kB / 1.441 GB, free: 7.34 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/1.32, allocations: 24.55 kB / 1.441 GB, free: 7.316 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/1.32, allocations: 27.95 kB / 1.441 GB, free: 7.289 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/1.321, allocations: 279.6 kB / 1.441 GB, free: 7.004 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.321, allocations: 0 / 1.441 GB, free: 7.004 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/1.321, allocations: 15.98 kB / 1.441 GB, free: 6.988 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/1.321, allocations: 12.56 kB / 1.441 GB, free: 6.973 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/1.321, allocations: 194.1 kB / 1.441 GB, free: 6.785 MB / 1.139 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.002654/1.324, allocations: 1.319 MB / 1.442 GB, free: 5.324 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/1.324, allocations: 178.8 kB / 1.443 GB, free: 5.141 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/1.325, allocations: 95.34 kB / 1.443 GB, free: 5.047 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/1.325, allocations: 4 kB / 1.443 GB, free: 5.043 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/1.325, allocations: 30.56 kB / 1.443 GB, free: 5.004 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 2.705e-06/1.325, allocations: 0 / 1.443 GB, free: 5.004 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.001207/1.326, allocations: 407.5 kB / 1.443 GB, free: 4.578 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/1.326, allocations: 51.41 kB / 1.443 GB, free: 4.516 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/1.326, allocations: 304.5 kB / 1.443 GB, free: 4.215 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/1.326, allocations: 29.7 kB / 1.444 GB, free: 4.18 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/1.327, allocations: 196.2 kB / 1.444 GB, free: 3.984 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.327, allocations: 75.36 kB / 1.444 GB, free: 3.91 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/1.327, allocations: 45.61 kB / 1.444 GB, free: 3.859 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.327, allocations: 346.8 kB / 1.444 GB, free: 3.512 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/1.327, allocations: 63.91 kB / 1.444 GB, free: 3.449 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/1.327, allocations: 120.3 kB / 1.444 GB, free: 3.312 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/1.328, allocations: 192 kB / 1.445 GB, free: 3.105 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.328, allocations: 0 / 1.445 GB, free: 3.105 MB / 1.139 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005108/1.328, allocations: 253.3 kB / 1.445 GB, free: 2.852 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.328, allocations: 8 kB / 1.445 GB, free: 2.844 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.328, allocations: 4 kB / 1.445 GB, free: 2.84 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/1.328, allocations: 4 kB / 1.445 GB, free: 2.836 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/1.328, allocations: 39.98 kB / 1.445 GB, free: 2.797 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.328, allocations: 11.92 kB / 1.445 GB, free: 2.785 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/1.329, allocations: 11.89 kB / 1.445 GB, free: 2.773 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/1.329, allocations: 12 kB / 1.445 GB, free: 2.762 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.0002527/1.329, allocations: 161.7 kB / 1.445 GB, free: 2.594 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.329, allocations: 39.75 kB / 1.445 GB, free: 2.555 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.329, allocations: 39.08 kB / 1.445 GB, free: 2.516 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.329, allocations: 3.984 kB / 1.445 GB, free: 2.512 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.329, allocations: 4 kB / 1.445 GB, free: 2.508 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.329, allocations: 0 / 1.445 GB, free: 2.508 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007495/1.33, allocations: 401.3 kB / 1.445 GB, free: 2.066 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.33, allocations: 0 / 1.445 GB, free: 2.066 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/1.33, allocations: 35.92 kB / 1.445 GB, free: 2.031 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/1.331, allocations: 44.83 kB / 1.446 GB, free: 1.984 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/1.331, allocations: 4 kB / 1.446 GB, free: 1.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/1.332, allocations: 1.519 MB / 1.447 GB, free: 328 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/1.332, allocations: 3.984 kB / 1.447 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/1.333, allocations: 401.9 kB / 1.447 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/1.333, allocations: 124.9 kB / 1.448 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/1.333, allocations: 11.94 kB / 1.448 GB, free: 15.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/1.334, allocations: 8.062 kB / 1.448 GB, free: 15.75 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/1.334, allocations: 12.22 kB / 1.448 GB, free: 15.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/1.334, allocations: 11.94 kB / 1.448 GB, free: 15.72 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003425/1.334, allocations: 215 kB / 1.448 GB, free: 15.51 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.334, allocations: 0 / 1.448 GB, free: 15.51 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00056/1.335, allocations: 107.8 kB / 1.448 GB, free: 15.41 MB / 1.154 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.00134/1.336, allocations: 0.9536 MB / 1.449 GB, free: 14.42 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000388/1.336, allocations: 170.3 kB / 1.449 GB, free: 14.26 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.336, allocations: 0 / 1.449 GB, free: 14.26 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004391/1.337, allocations: 194.6 kB / 1.449 GB, free: 14.05 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.338, allocations: 189.4 kB / 1.449 GB, free: 13.88 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/1.343, allocations: 2.938 MB / 1.452 GB, free: 10.83 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/1.344, allocations: 0.8036 MB / 1.453 GB, free: 10 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003625/1.344, allocations: 55.25 kB / 1.453 GB, free: 9.945 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.344, allocations: 103.4 kB / 1.453 GB, free: 9.844 MB / 1.154 GB Notification: Performance of SimCode: time 1.183e-06/1.344, allocations: 0 / 1.453 GB, free: 9.844 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/1.39, allocations: 9.051 MB / 1.462 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/13, allocations: 7.125 kB / 1.462 GB, free: 0.9883 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.T_start in file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.033343589049764]