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.00178/0.00178, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002226/0.002226, allocations: 212.8 kB / 23.02 MB, free: 4.953 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.234/3.234, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",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.001964/0.001964, allocations: 67.22 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3978, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1804/0.5782, allocations: 143 MB / 1.485 GB, free: 368 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00479/0.583, allocations: 2.742 MB / 1.488 GB, free: 13.61 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.5834, allocations: 23.81 kB / 1.488 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.5841, allocations: 194.8 kB / 1.488 GB, free: 13.4 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.5861, allocations: 0.809 MB / 1.489 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.5869, allocations: 357.3 kB / 1.489 GB, free: 12.24 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.5882, allocations: 0.9781 MB / 1.49 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.5885, allocations: 214.5 kB / 1.49 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.5892, allocations: 386.6 kB / 1.49 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009408/0.5902, allocations: 308.8 kB / 1.491 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.508e-05/0.5902, allocations: 36 kB / 1.491 GB, free: 10.32 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000983/0.5912, allocations: 0.5298 MB / 1.491 GB, free: 9.793 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.5914, allocations: 139.5 kB / 1.491 GB, free: 9.656 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.5916, allocations: 171.3 kB / 1.492 GB, free: 9.488 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.5926, allocations: 0.7397 MB / 1.492 GB, free: 8.746 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5926, allocations: 8 kB / 1.492 GB, free: 8.738 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5926, allocations: 3.938 kB / 1.492 GB, free: 8.734 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5926, allocations: 3.938 kB / 1.492 GB, free: 8.73 MB / 1.186 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.001133/0.5938, allocations: 0.6407 MB / 1.493 GB, free: 8.059 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5938, allocations: 8.031 kB / 1.493 GB, free: 8.051 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.517e-05/0.5938, allocations: 8.5 kB / 1.493 GB, free: 8.043 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/0.5939, allocations: 70.47 kB / 1.493 GB, free: 7.965 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.5949, allocations: 143.5 kB / 1.493 GB, free: 7.824 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.5955, allocations: 360.1 kB / 1.494 GB, free: 7.449 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.5956, allocations: 20.5 kB / 1.494 GB, free: 7.43 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.5956, allocations: 24 kB / 1.494 GB, free: 7.406 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.5962, allocations: 381.5 kB / 1.494 GB, free: 6.996 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5962, allocations: 0 / 1.494 GB, free: 6.996 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.5962, allocations: 15.98 kB / 1.494 GB, free: 6.98 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.5962, allocations: 12.5 kB / 1.494 GB, free: 6.969 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.5966, allocations: 197.8 kB / 1.494 GB, free: 6.773 MB / 1.186 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.001553/0.5982, allocations: 0.8427 MB / 1.495 GB, free: 5.887 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.5986, allocations: 182.9 kB / 1.495 GB, free: 5.699 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.5987, allocations: 80.81 kB / 1.495 GB, free: 5.617 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.5987, allocations: 4 kB / 1.495 GB, free: 5.613 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5987, allocations: 38.56 kB / 1.495 GB, free: 5.566 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.5987, allocations: 0 / 1.495 GB, free: 5.566 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.0009162/0.5997, allocations: 328.6 kB / 1.496 GB, free: 5.238 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.5997, allocations: 55.41 kB / 1.496 GB, free: 5.172 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.6, allocations: 296.6 kB / 1.496 GB, free: 4.867 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.6001, allocations: 33.7 kB / 1.496 GB, free: 4.828 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.6002, allocations: 200.2 kB / 1.496 GB, free: 4.629 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.6003, allocations: 63.44 kB / 1.496 GB, free: 4.566 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.6003, allocations: 45.7 kB / 1.496 GB, free: 4.516 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6005, allocations: 338.8 kB / 1.497 GB, free: 4.176 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.6006, allocations: 71.91 kB / 1.497 GB, free: 4.105 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.6008, allocations: 129.8 kB / 1.497 GB, free: 3.957 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.6011, allocations: 195.4 kB / 1.497 GB, free: 3.746 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6011, allocations: 0 / 1.497 GB, free: 3.746 MB / 1.186 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003909/0.6015, allocations: 258.9 kB / 1.497 GB, free: 3.488 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6015, allocations: 8 kB / 1.497 GB, free: 3.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6015, allocations: 0 / 1.497 GB, free: 3.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6015, allocations: 4 kB / 1.497 GB, free: 3.477 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.6017, allocations: 43.92 kB / 1.497 GB, free: 3.434 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6017, allocations: 0 / 1.497 GB, free: 3.434 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.6019, allocations: 23.83 kB / 1.497 GB, free: 3.41 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.602, allocations: 4 kB / 1.497 GB, free: 3.406 MB / 1.186 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.0001635/0.6021, allocations: 158 kB / 1.497 GB, free: 3.242 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.6022, allocations: 43.75 kB / 1.497 GB, free: 3.199 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.52e-05/0.6023, allocations: 35.02 kB / 1.498 GB, free: 3.164 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.6023, allocations: 4 kB / 1.498 GB, free: 3.16 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6023, allocations: 0 / 1.498 GB, free: 3.16 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6023, allocations: 3.984 kB / 1.498 GB, free: 3.156 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.6028, allocations: 324.5 kB / 1.498 GB, free: 2.797 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.6028, allocations: 7.938 kB / 1.498 GB, free: 2.789 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.6029, allocations: 31.98 kB / 1.498 GB, free: 2.758 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.6032, allocations: 40.83 kB / 1.498 GB, free: 2.715 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.6032, allocations: 8 kB / 1.498 GB, free: 2.707 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.6045, allocations: 1.404 MB / 1.499 GB, free: 1.191 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6045, allocations: 4.031 kB / 1.499 GB, free: 1.188 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.6051, allocations: 392 kB / 1.5 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.6052, allocations: 63.7 kB / 1.5 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.6052, allocations: 0 / 1.5 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.6055, allocations: 13.95 kB / 1.5 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.6055, allocations: 15.97 kB / 1.5 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.6055, allocations: 4 kB / 1.5 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002339/0.6058, allocations: 219.1 kB / 1.5 GB, free: 488 kB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6058, allocations: 3.938 kB / 1.5 GB, free: 484 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004026/0.6062, allocations: 103.8 kB / 1.5 GB, free: 380 kB / 1.186 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.0009549/0.6071, allocations: 0.9433 MB / 1.501 GB, free: 15.4 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.6074, allocations: 157.8 kB / 1.501 GB, free: 15.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6074, allocations: 0 / 1.501 GB, free: 15.25 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.6077, allocations: 195 kB / 1.501 GB, free: 15.04 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.6087, allocations: 195.9 kB / 1.502 GB, free: 14.86 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.6122, allocations: 2.933 MB / 1.504 GB, free: 11.81 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.6124, allocations: 190 kB / 1.505 GB, free: 11.61 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.6126, allocations: 71.22 kB / 1.505 GB, free: 11.54 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.6128, allocations: 99.41 kB / 1.505 GB, free: 11.44 MB / 1.201 GB Notification: Performance of SimCode: time 5e-07/0.6128, allocations: 0 / 1.505 GB, free: 11.44 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.6518, allocations: 9.927 MB / 1.514 GB, free: 1.805 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.15, allocations: 13.66 kB / 1.514 GB, free: 1.793 MB / 1.201 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.253167657996528]