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.0007723/0.0007723, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007952/0.0007952, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8745/0.8745, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.712/1.712, 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 2.634e-06/2.634e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.964e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6053/0.6053, allocations: 143.1 MB / 1.09 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.6078, allocations: 2.734 MB / 1.093 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.608, allocations: 21.31 kB / 1.093 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.6086, allocations: 202.7 kB / 1.093 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.6097, allocations: 0.8241 MB / 1.094 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.6101, allocations: 363.5 kB / 1.094 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.6108, allocations: 0.978 MB / 1.095 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.6111, allocations: 213.4 kB / 1.095 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.6115, allocations: 466.3 kB / 1.096 GB, free: 37.92 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.6121, allocations: 267.5 kB / 1.096 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.6121, allocations: 37.38 kB / 1.096 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/0.6126, allocations: 0.536 MB / 1.097 GB, free: 37.72 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.6127, allocations: 151.6 kB / 1.097 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.6128, allocations: 149.5 kB / 1.097 GB, free: 37.6 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.6134, allocations: 0.7514 MB / 1.098 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.6134, allocations: 0 / 1.098 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6134, allocations: 0 / 1.098 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6134, allocations: 0 / 1.098 GB, free: 37.39 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.0007923/0.6142, allocations: 0.6508 MB / 1.098 GB, free: 36.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6143, allocations: 10.56 kB / 1.098 GB, free: 36.9 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.6143, allocations: 60.58 kB / 1.098 GB, free: 36.84 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/0.6149, allocations: 147.3 kB / 1.098 GB, free: 36.81 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.6153, allocations: 352.5 kB / 1.099 GB, free: 36.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.6153, allocations: 20.97 kB / 1.099 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.6154, allocations: 29.88 kB / 1.099 GB, free: 36.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.6157, allocations: 378.6 kB / 1.099 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.6157, allocations: 0.7031 kB / 1.099 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.6158, allocations: 6.594 kB / 1.099 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.6158, allocations: 9.938 kB / 1.099 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.616, allocations: 196.3 kB / 1.099 GB, free: 36.21 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.00101/0.617, allocations: 0.8432 MB / 1.1 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.6173, allocations: 179.8 kB / 1.1 GB, free: 35.58 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.6174, allocations: 84.48 kB / 1.101 GB, free: 35.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.6175, allocations: 2.75 kB / 1.101 GB, free: 35.54 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.6175, allocations: 33.2 kB / 1.101 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.6175, allocations: 12.75 kB / 1.101 GB, free: 35.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0006888/0.6182, allocations: 322.2 kB / 1.101 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.6182, allocations: 54.22 kB / 1.101 GB, free: 35.29 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.6185, allocations: 299.2 kB / 1.101 GB, free: 35.12 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.6185, allocations: 28.12 kB / 1.101 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.6186, allocations: 201.3 kB / 1.101 GB, free: 34.92 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.6187, allocations: 79.05 kB / 1.102 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.6187, allocations: 44.97 kB / 1.102 GB, free: 34.83 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.6188, allocations: 338.9 kB / 1.102 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.6189, allocations: 65.81 kB / 1.102 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.619, allocations: 117.8 kB / 1.102 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.6193, allocations: 198.8 kB / 1.102 GB, free: 34.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.6193, allocations: 1.062 kB / 1.102 GB, free: 34.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002463/0.6195, allocations: 252.5 kB / 1.102 GB, free: 34.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6195, allocations: 7.219 kB / 1.102 GB, free: 34.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6196, allocations: 1.891 kB / 1.102 GB, free: 34.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6196, allocations: 7.031 kB / 1.102 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.6197, allocations: 42.59 kB / 1.103 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.6197, allocations: 8.219 kB / 1.103 GB, free: 34.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.6198, allocations: 16.3 kB / 1.103 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.6198, allocations: 10.84 kB / 1.103 GB, free: 34.11 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 9.388e-05/0.6199, allocations: 158.5 kB / 1.103 GB, free: 33.97 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.62, allocations: 31.53 kB / 1.103 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.62, allocations: 41.83 kB / 1.103 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.62, allocations: 6.594 kB / 1.103 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.62, allocations: 0.7969 kB / 1.103 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.62, allocations: 0.6562 kB / 1.103 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.6203, allocations: 324.7 kB / 1.103 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6203, allocations: 4.75 kB / 1.103 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.6204, allocations: 29.98 kB / 1.103 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.6206, allocations: 44.16 kB / 1.103 GB, free: 33.68 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6206, allocations: 1.703 kB / 1.103 GB, free: 33.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006477/0.6212, allocations: 1.404 MB / 1.105 GB, free: 32.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6212, allocations: 4.203 kB / 1.105 GB, free: 32.33 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.6216, allocations: 407.4 kB / 1.105 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.6217, allocations: 47.98 kB / 1.105 GB, free: 32.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.6217, allocations: 6.828 kB / 1.105 GB, free: 32.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.6218, allocations: 7.781 kB / 1.105 GB, free: 32.04 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.6218, allocations: 14.78 kB / 1.105 GB, free: 32.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.6218, allocations: 9.641 kB / 1.105 GB, free: 32.03 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001547/0.622, allocations: 217.2 kB / 1.105 GB, free: 31.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.622, allocations: 1.188 kB / 1.105 GB, free: 31.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002868/0.6223, allocations: 107.1 kB / 1.105 GB, free: 31.89 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.0005952/0.6229, allocations: 0.9523 MB / 1.106 GB, free: 31.11 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.6231, allocations: 158.9 kB / 1.106 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6231, allocations: 1.094 kB / 1.106 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.6234, allocations: 197 kB / 1.107 GB, free: 30.91 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.624, allocations: 196.3 kB / 1.107 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.6265, allocations: 2.849 MB / 1.11 GB, free: 28.92 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.6266, allocations: 196.4 kB / 1.11 GB, free: 28.82 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.6268, allocations: 65.14 kB / 1.11 GB, free: 28.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.627, allocations: 103.7 kB / 1.11 GB, free: 28.73 MB / 0.9948 GB Notification: Performance of SimCode: time 1.092e-06/0.627, allocations: 0 / 1.11 GB, free: 28.73 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.651, allocations: 10.37 MB / 1.12 GB, free: 27.04 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/8.158, allocations: 6.312 kB / 1.12 GB, free: 27.04 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 & 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 12.400617210194468]