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.001789/0.001789, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001958/0.001958, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.996 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 2.924/2.924, allocations: 476.7 MB / 0.7715 GB, free: 4.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_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.002113/0.002113, allocations: 63.81 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3829, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2188/0.6017, allocations: 165.9 MB / 1.446 GB, free: 5.164 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006453/0.6081, allocations: 2.941 MB / 1.449 GB, free: 2.215 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008124/0.6089, allocations: 23.81 kB / 1.449 GB, free: 2.191 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.61, allocations: 218.8 kB / 1.449 GB, free: 1.977 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.6131, allocations: 0.8129 MB / 1.45 GB, free: 1.16 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.6145, allocations: 366.4 kB / 1.45 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.6165, allocations: 0.978 MB / 1.451 GB, free: 15.82 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.6171, allocations: 215.3 kB / 1.452 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.6181, allocations: 362.6 kB / 1.452 GB, free: 15.25 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.6195, allocations: 304.8 kB / 1.452 GB, free: 14.96 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.6196, allocations: 36 kB / 1.452 GB, free: 14.92 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.6216, allocations: 0.6936 MB / 1.453 GB, free: 14.23 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.6219, allocations: 139.5 kB / 1.453 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.6224, allocations: 215 kB / 1.453 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.6245, allocations: 0.7475 MB / 1.454 GB, free: 13.13 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6245, allocations: 0 / 1.454 GB, free: 13.13 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6245, allocations: 3.938 kB / 1.454 GB, free: 13.12 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.6246, allocations: 4 kB / 1.454 GB, free: 13.12 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.001671/0.6262, allocations: 0.6562 MB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6263, allocations: 8.031 kB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.794e-05/0.6263, allocations: 8.5 kB / 1.455 GB, free: 12.42 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.6264, allocations: 58.55 kB / 1.455 GB, free: 12.35 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.6277, allocations: 147.5 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009487/0.6287, allocations: 352 kB / 1.455 GB, free: 11.84 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.6287, allocations: 20.5 kB / 1.455 GB, free: 11.81 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.6288, allocations: 24 kB / 1.455 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.6294, allocations: 290.6 kB / 1.456 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6294, allocations: 0 / 1.456 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.6294, allocations: 8 kB / 1.456 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.6295, allocations: 8.5 kB / 1.456 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.6299, allocations: 205.8 kB / 1.456 GB, free: 11.28 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.002591/0.6325, allocations: 1.276 MB / 1.457 GB, free: 9.867 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.633, allocations: 178.9 kB / 1.457 GB, free: 9.684 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.6331, allocations: 85.11 kB / 1.457 GB, free: 9.598 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.6332, allocations: 11.95 kB / 1.457 GB, free: 9.586 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.6332, allocations: 38.55 kB / 1.457 GB, free: 9.539 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 3.206e-06/0.6332, allocations: 0 / 1.457 GB, free: 9.539 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001152/0.6344, allocations: 328.3 kB / 1.458 GB, free: 9.211 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.6344, allocations: 51.41 kB / 1.458 GB, free: 9.148 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.6349, allocations: 300.6 kB / 1.458 GB, free: 8.848 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.6349, allocations: 29.7 kB / 1.458 GB, free: 8.812 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.6351, allocations: 200.3 kB / 1.458 GB, free: 8.613 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.6352, allocations: 71.38 kB / 1.458 GB, free: 8.543 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.6354, allocations: 45.7 kB / 1.458 GB, free: 8.492 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.6356, allocations: 342.8 kB / 1.459 GB, free: 8.148 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.6357, allocations: 63.91 kB / 1.459 GB, free: 8.086 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.6359, allocations: 119.7 kB / 1.459 GB, free: 7.949 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.6362, allocations: 196.2 kB / 1.459 GB, free: 7.738 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6362, allocations: 0 / 1.459 GB, free: 7.738 MB / 1.154 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005252/0.6367, allocations: 253.2 kB / 1.459 GB, free: 7.484 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.6367, allocations: 10.44 kB / 1.459 GB, free: 7.477 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.6368, allocations: 8.188 kB / 1.459 GB, free: 7.469 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.6368, allocations: 4 kB / 1.459 GB, free: 7.465 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.637, allocations: 35.98 kB / 1.459 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.637, allocations: 11.88 kB / 1.459 GB, free: 7.418 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.6374, allocations: 15.89 kB / 1.459 GB, free: 7.402 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.6374, allocations: 8 kB / 1.459 GB, free: 7.395 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.0002903/0.6377, allocations: 157.8 kB / 1.459 GB, free: 7.23 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.6379, allocations: 39.7 kB / 1.459 GB, free: 7.191 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.638, allocations: 39.02 kB / 1.459 GB, free: 7.148 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.638, allocations: 4 kB / 1.459 GB, free: 7.145 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.638, allocations: 3.938 kB / 1.459 GB, free: 7.141 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.638, allocations: 0 / 1.459 GB, free: 7.141 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.6388, allocations: 380.4 kB / 1.46 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.6388, allocations: 3.938 kB / 1.46 GB, free: 6.723 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.639, allocations: 27.98 kB / 1.46 GB, free: 6.695 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000308/0.6393, allocations: 44.83 kB / 1.46 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.6394, allocations: 8 kB / 1.46 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.641, allocations: 1.404 MB / 1.461 GB, free: 5.121 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.641, allocations: 0 / 1.461 GB, free: 5.121 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.6418, allocations: 407.7 kB / 1.462 GB, free: 4.707 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.642, allocations: 59.7 kB / 1.462 GB, free: 4.648 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.642, allocations: 4 kB / 1.462 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.6423, allocations: 8 kB / 1.462 GB, free: 4.637 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.6424, allocations: 16.03 kB / 1.462 GB, free: 4.621 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.6424, allocations: 11.94 kB / 1.462 GB, free: 4.609 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003147/0.6427, allocations: 215.1 kB / 1.462 GB, free: 4.398 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6427, allocations: 0 / 1.462 GB, free: 4.398 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005273/0.6432, allocations: 103.9 kB / 1.462 GB, free: 4.297 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.001187/0.6444, allocations: 0.9533 MB / 1.463 GB, free: 3.316 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.6448, allocations: 160.1 kB / 1.463 GB, free: 3.16 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6448, allocations: 0 / 1.463 GB, free: 3.16 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.6452, allocations: 198.5 kB / 1.463 GB, free: 2.953 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6463, allocations: 194.7 kB / 1.464 GB, free: 2.773 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.6511, allocations: 2.936 MB / 1.466 GB, free: 15.73 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.6517, allocations: 0.7921 MB / 1.467 GB, free: 14.91 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003621/0.652, allocations: 59.25 kB / 1.467 GB, free: 14.85 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.6523, allocations: 111.4 kB / 1.467 GB, free: 14.74 MB / 1.17 GB Notification: Performance of SimCode: time 9.51e-07/0.6523, allocations: 0 / 1.467 GB, free: 14.74 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04239/0.6946, allocations: 9.264 MB / 1.476 GB, free: 5.715 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.08, allocations: 5.188 kB / 1.476 GB, free: 5.711 MB / 1.17 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.30817543901503]