Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001406/0.001406, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001729/0.001729, allocations: 219 kB / 22.26 MB, free: 5.125 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.478/3.478, allocations: 0.505 GB / 0.8101 GB, free: 22.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.002084/0.002084, allocations: 67.41 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4027, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2219/0.6246, allocations: 166 MB / 1.515 GB, free: 1.887 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005441/0.63, allocations: 2.947 MB / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.6307, allocations: 19.88 kB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0008968/0.6316, allocations: 214.8 kB / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.6339, allocations: 0.8167 MB / 1.519 GB, free: 13.88 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.6349, allocations: 365.1 kB / 1.519 GB, free: 13.53 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.6364, allocations: 0.9664 MB / 1.52 GB, free: 12.56 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.6367, allocations: 218.4 kB / 1.52 GB, free: 12.34 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006836/0.6374, allocations: 394.6 kB / 1.521 GB, free: 11.95 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009077/0.6383, allocations: 310.5 kB / 1.521 GB, free: 11.65 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.6384, allocations: 32 kB / 1.521 GB, free: 11.62 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.6397, allocations: 0.6936 MB / 1.522 GB, free: 10.92 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.6399, allocations: 143.5 kB / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.6402, allocations: 215 kB / 1.522 GB, free: 10.57 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.6413, allocations: 0.7592 MB / 1.523 GB, free: 9.809 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6414, allocations: 0 / 1.523 GB, free: 9.809 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6414, allocations: 0 / 1.523 GB, free: 9.809 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.6414, allocations: 0 / 1.523 GB, free: 9.809 MB / 1.217 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.001174/0.6425, allocations: 0.6485 MB / 1.523 GB, free: 9.129 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6426, allocations: 12.03 kB / 1.523 GB, free: 9.117 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.633e-05/0.6427, allocations: 66.47 kB / 1.523 GB, free: 9.043 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.6437, allocations: 143.6 kB / 1.524 GB, free: 8.902 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.6445, allocations: 360 kB / 1.524 GB, free: 8.523 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.6445, allocations: 20.5 kB / 1.524 GB, free: 8.504 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.6445, allocations: 24 kB / 1.524 GB, free: 8.48 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.645, allocations: 274.7 kB / 1.524 GB, free: 8.199 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.6451, allocations: 4 kB / 1.524 GB, free: 8.195 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.6451, allocations: 8 kB / 1.524 GB, free: 8.188 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.6451, allocations: 12.48 kB / 1.524 GB, free: 8.176 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.6455, allocations: 197.9 kB / 1.524 GB, free: 7.98 MB / 1.217 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.001946/0.6474, allocations: 1.288 MB / 1.526 GB, free: 6.562 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.6478, allocations: 182.8 kB / 1.526 GB, free: 6.375 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.648, allocations: 88.77 kB / 1.526 GB, free: 6.285 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.648, allocations: 4 kB / 1.526 GB, free: 6.281 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.648, allocations: 38.56 kB / 1.526 GB, free: 6.234 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 3.607e-06/0.648, allocations: 3.984 kB / 1.526 GB, free: 6.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.0009576/0.649, allocations: 328.5 kB / 1.526 GB, free: 5.902 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.649, allocations: 51.41 kB / 1.526 GB, free: 5.84 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.6494, allocations: 300.6 kB / 1.527 GB, free: 5.539 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.6494, allocations: 29.7 kB / 1.527 GB, free: 5.504 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.6495, allocations: 204.2 kB / 1.527 GB, free: 5.301 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.6496, allocations: 67.39 kB / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.6497, allocations: 45.7 kB / 1.527 GB, free: 5.184 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6499, allocations: 338.8 kB / 1.527 GB, free: 4.844 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.65, allocations: 67.91 kB / 1.527 GB, free: 4.777 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.6501, allocations: 121.8 kB / 1.528 GB, free: 4.637 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.6504, allocations: 199.5 kB / 1.528 GB, free: 4.422 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6504, allocations: 0 / 1.528 GB, free: 4.422 MB / 1.217 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003973/0.6508, allocations: 253.2 kB / 1.528 GB, free: 4.168 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6508, allocations: 4 kB / 1.528 GB, free: 4.164 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.6508, allocations: 8.125 kB / 1.528 GB, free: 4.156 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6509, allocations: 4 kB / 1.528 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.6511, allocations: 47.92 kB / 1.528 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.6511, allocations: 4 kB / 1.528 GB, free: 4.102 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.6514, allocations: 15.89 kB / 1.528 GB, free: 4.086 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.6514, allocations: 8 kB / 1.528 GB, free: 4.078 MB / 1.217 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.0001933/0.6516, allocations: 161.7 kB / 1.528 GB, free: 3.91 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.6517, allocations: 39.73 kB / 1.528 GB, free: 3.871 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-05/0.6517, allocations: 39.02 kB / 1.528 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.6517, allocations: 4 kB / 1.528 GB, free: 3.824 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6518, allocations: 4 kB / 1.528 GB, free: 3.82 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6518, allocations: 0 / 1.528 GB, free: 3.82 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.6523, allocations: 376.3 kB / 1.529 GB, free: 3.41 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6523, allocations: 3.938 kB / 1.529 GB, free: 3.406 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.6525, allocations: 31.92 kB / 1.529 GB, free: 3.375 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/0.6527, allocations: 44.81 kB / 1.529 GB, free: 3.328 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.6528, allocations: 8 kB / 1.529 GB, free: 3.32 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.6541, allocations: 1.408 MB / 1.53 GB, free: 1.797 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6541, allocations: 4.062 kB / 1.53 GB, free: 1.793 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.6547, allocations: 403.3 kB / 1.53 GB, free: 1.383 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.6549, allocations: 51.73 kB / 1.531 GB, free: 1.332 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.6549, allocations: 7.938 kB / 1.531 GB, free: 1.324 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.6552, allocations: 13.36 kB / 1.531 GB, free: 1.312 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.6552, allocations: 11.98 kB / 1.531 GB, free: 1.301 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.6553, allocations: 11.98 kB / 1.531 GB, free: 1.289 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002401/0.6555, allocations: 215.1 kB / 1.531 GB, free: 1.078 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6555, allocations: 0 / 1.531 GB, free: 1.078 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000433/0.6559, allocations: 103.8 kB / 1.531 GB, free: 0.9766 MB / 1.217 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.00101/0.6569, allocations: 0.9455 MB / 1.532 GB, free: 4 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.6573, allocations: 156.2 kB / 1.532 GB, free: 15.85 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6573, allocations: 4.125 kB / 1.532 GB, free: 15.84 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.6576, allocations: 194.6 kB / 1.532 GB, free: 15.64 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.6586, allocations: 200 kB / 1.532 GB, free: 15.45 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.6624, allocations: 2.928 MB / 1.535 GB, free: 12.41 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.6629, allocations: 0.796 MB / 1.536 GB, free: 11.59 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002576/0.6631, allocations: 67.17 kB / 1.536 GB, free: 11.52 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.6633, allocations: 103.4 kB / 1.536 GB, free: 11.43 MB / 1.232 GB Notification: Performance of SimCode: time 1.613e-06/0.6633, allocations: 0 / 1.536 GB, free: 11.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05849/0.7218, allocations: 9.249 MB / 1.545 GB, free: 2.379 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.98, allocations: 13.8 kB / 1.545 GB, free: 2.367 MB / 1.232 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.22287114104256]