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.001447/0.001447, allocations: 108.9 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.001651/0.001651, allocations: 213.7 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.581/1.581, allocations: 230.6 MB / 252.8 MB, free: 8.973 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 3.296/3.296, allocations: 476.7 MB / 0.7672 GB, free: 5.281 MB / 0.6231 GB " [Timeout remaining time 176] 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.003122/0.003122, allocations: 67.91 kB / 1.112 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.016, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2274/1.243, allocations: 165.8 MB / 1.44 GB, free: 7.023 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007154/1.25, allocations: 2.929 MB / 1.443 GB, free: 4.09 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/1.251, allocations: 19.81 kB / 1.443 GB, free: 4.07 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/1.252, allocations: 218.8 kB / 1.443 GB, free: 3.855 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003246/1.255, allocations: 0.8089 MB / 1.444 GB, free: 3.043 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/1.257, allocations: 337.5 kB / 1.444 GB, free: 2.715 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002207/1.259, allocations: 0.9429 MB / 1.445 GB, free: 1.77 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/1.26, allocations: 222.2 kB / 1.445 GB, free: 1.547 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/1.261, allocations: 366.6 kB / 1.446 GB, free: 1.188 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/1.262, allocations: 297.1 kB / 1.446 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/1.262, allocations: 32 kB / 1.446 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/1.265, allocations: 0.6975 MB / 1.447 GB, free: 172 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003112/1.265, allocations: 127.6 kB / 1.447 GB, free: 44 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004881/1.266, allocations: 218.9 kB / 1.447 GB, free: 15.83 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/1.268, allocations: 0.7514 MB / 1.448 GB, free: 15.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.268, allocations: 0 / 1.448 GB, free: 15.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.914e-06/1.268, allocations: 0 / 1.448 GB, free: 15.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.019e-05/1.268, allocations: 0 / 1.448 GB, free: 15.07 MB / 1.154 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.002007/1.27, allocations: 0.7238 MB / 1.449 GB, free: 14.3 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/1.27, allocations: 16.03 kB / 1.449 GB, free: 14.29 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/1.27, allocations: 62.48 kB / 1.449 GB, free: 14.21 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/1.272, allocations: 139.6 kB / 1.449 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.273, allocations: 422.6 kB / 1.449 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/1.273, allocations: 20.56 kB / 1.449 GB, free: 13.61 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/1.273, allocations: 24 kB / 1.449 GB, free: 13.58 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/1.274, allocations: 283.7 kB / 1.45 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.274, allocations: 3.984 kB / 1.45 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/1.274, allocations: 8 kB / 1.45 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/1.274, allocations: 12.56 kB / 1.45 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/1.275, allocations: 198.1 kB / 1.45 GB, free: 13.07 MB / 1.154 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.003283/1.278, allocations: 1.319 MB / 1.451 GB, free: 11.62 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/1.279, allocations: 186.8 kB / 1.451 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/1.279, allocations: 89.17 kB / 1.451 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/1.279, allocations: 7.953 kB / 1.451 GB, free: 11.33 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.279, allocations: 30.56 kB / 1.451 GB, free: 11.29 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/1.279, allocations: 0 / 1.451 GB, free: 11.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001695/1.281, allocations: 409.2 kB / 1.452 GB, free: 10.86 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.281, allocations: 51.41 kB / 1.452 GB, free: 10.8 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/1.282, allocations: 304.6 kB / 1.452 GB, free: 10.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/1.282, allocations: 25.7 kB / 1.452 GB, free: 10.46 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/1.282, allocations: 200.3 kB / 1.452 GB, free: 10.27 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/1.282, allocations: 75.38 kB / 1.452 GB, free: 10.19 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.282, allocations: 45.7 kB / 1.452 GB, free: 10.14 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002374/1.282, allocations: 334.8 kB / 1.453 GB, free: 9.805 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/1.283, allocations: 63.97 kB / 1.453 GB, free: 9.742 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/1.283, allocations: 111.7 kB / 1.453 GB, free: 9.613 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/1.283, allocations: 199.4 kB / 1.453 GB, free: 9.398 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.283, allocations: 0 / 1.453 GB, free: 9.398 MB / 1.154 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007589/1.284, allocations: 255.1 kB / 1.453 GB, free: 9.145 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.284, allocations: 4 kB / 1.453 GB, free: 9.141 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.284, allocations: 4 kB / 1.453 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/1.284, allocations: 3.984 kB / 1.453 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/1.285, allocations: 43.92 kB / 1.453 GB, free: 9.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/1.285, allocations: 4 kB / 1.453 GB, free: 9.086 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/1.285, allocations: 15.89 kB / 1.453 GB, free: 9.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/1.285, allocations: 8 kB / 1.453 GB, free: 9.062 MB / 1.154 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.0003345/1.285, allocations: 169.9 kB / 1.454 GB, free: 8.887 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/1.286, allocations: 39.7 kB / 1.454 GB, free: 8.848 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/1.286, allocations: 35.08 kB / 1.454 GB, free: 8.809 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.286, allocations: 3.938 kB / 1.454 GB, free: 8.805 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.286, allocations: 4 kB / 1.454 GB, free: 8.801 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.286, allocations: 0 / 1.454 GB, free: 8.801 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/1.287, allocations: 405.3 kB / 1.454 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.287, allocations: 0 / 1.454 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/1.287, allocations: 35.86 kB / 1.454 GB, free: 8.32 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003799/1.287, allocations: 52.81 kB / 1.454 GB, free: 8.266 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/1.288, allocations: 4 kB / 1.454 GB, free: 8.262 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/1.29, allocations: 1.515 MB / 1.456 GB, free: 6.605 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.29, allocations: 0 / 1.456 GB, free: 6.605 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.291, allocations: 399.9 kB / 1.456 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/1.291, allocations: 128.9 kB / 1.456 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.291, allocations: 12 kB / 1.456 GB, free: 6.039 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/1.292, allocations: 4 kB / 1.456 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/1.292, allocations: 11.98 kB / 1.456 GB, free: 6.023 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/1.292, allocations: 11.98 kB / 1.456 GB, free: 6.012 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004559/1.292, allocations: 215.1 kB / 1.456 GB, free: 5.801 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/1.292, allocations: 0 / 1.456 GB, free: 5.801 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008775/1.293, allocations: 103.9 kB / 1.456 GB, free: 5.699 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.001738/1.295, allocations: 0.9543 MB / 1.457 GB, free: 4.719 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005574/1.296, allocations: 155.9 kB / 1.458 GB, free: 4.566 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.296, allocations: 0 / 1.458 GB, free: 4.566 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005389/1.296, allocations: 196.8 kB / 1.458 GB, free: 4.363 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.298, allocations: 200 kB / 1.458 GB, free: 4.176 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006977/1.305, allocations: 2.946 MB / 1.461 GB, free: 1.121 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/1.306, allocations: 0.7921 MB / 1.462 GB, free: 312 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004866/1.306, allocations: 55.25 kB / 1.462 GB, free: 256 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.306, allocations: 111.3 kB / 1.462 GB, free: 144 kB / 1.154 GB Notification: Performance of SimCode: time 1.643e-06/1.306, allocations: 4 kB / 1.462 GB, free: 140 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05153/1.358, allocations: 9.049 MB / 1.471 GB, free: 7.297 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.29, allocations: 6.406 kB / 1.471 GB, free: 7.293 MB / 1.17 GB " [Timeout remaining time 288] (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/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.272508626105264]