Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001078/0.001078, allocations: 76.45 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009999/0.0009999, allocations: 177.9 kB / 23.22 MB, free: 1.34 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.9284/0.9284, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.9 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.671e-05, allocations: 2.281 kB / 0.9821 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6837/0.6837, allocations: 143.1 MB / 1.122 GB, free: 16.33 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003147/0.6869, allocations: 2.743 MB / 1.125 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.6872, allocations: 27.28 kB / 1.125 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.6878, allocations: 200 kB / 1.125 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.6892, allocations: 0.8266 MB / 1.126 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.6897, allocations: 356.6 kB / 1.126 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008915/0.6906, allocations: 0.9789 MB / 1.127 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.6908, allocations: 214.1 kB / 1.127 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.6914, allocations: 0.4931 MB / 1.128 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007331/0.6922, allocations: 266.4 kB / 1.128 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.6922, allocations: 36.84 kB / 1.128 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006804/0.6929, allocations: 0.5332 MB / 1.128 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.693, allocations: 146 kB / 1.129 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.6932, allocations: 155.9 kB / 1.129 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.6941, allocations: 0.7447 MB / 1.129 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6941, allocations: 0.6094 kB / 1.129 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6941, allocations: 5.312 kB / 1.129 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6941, allocations: 3.938 kB / 1.129 GB, free: 12.23 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.0008664/0.6949, allocations: 0.6452 MB / 1.13 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.695, allocations: 9.594 kB / 1.13 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006195/0.6956, allocations: 139.3 kB / 1.13 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.6961, allocations: 359.1 kB / 1.131 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.6961, allocations: 19.11 kB / 1.131 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.6961, allocations: 24.22 kB / 1.131 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.6965, allocations: 387.8 kB / 1.131 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.6966, allocations: 3.625 kB / 1.131 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.6966, allocations: 6.969 kB / 1.131 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.6966, allocations: 13.03 kB / 1.131 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.6969, allocations: 197.2 kB / 1.131 GB, free: 11.11 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.001125/0.698, allocations: 0.7956 MB / 1.132 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.6983, allocations: 183.1 kB / 1.132 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.6984, allocations: 84.86 kB / 1.132 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.6984, allocations: 2.25 kB / 1.132 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.6984, allocations: 33.78 kB / 1.132 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 2.645e-06/0.6984, allocations: 0 / 1.132 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0007483/0.6992, allocations: 325.9 kB / 1.133 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.6992, allocations: 54.47 kB / 1.133 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.6994, allocations: 297 kB / 1.133 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.6995, allocations: 30.73 kB / 1.133 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.6995, allocations: 201.2 kB / 1.133 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.6996, allocations: 73.16 kB / 1.133 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.6996, allocations: 48.16 kB / 1.133 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.6997, allocations: 338.9 kB / 1.134 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.6998, allocations: 63.08 kB / 1.134 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.6999, allocations: 120.7 kB / 1.134 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.7001, allocations: 196.9 kB / 1.134 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7001, allocations: 0 / 1.134 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002499/0.7003, allocations: 247.3 kB / 1.134 GB, free: 9.062 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7003, allocations: 10.09 kB / 1.134 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.7003, allocations: 2.75 kB / 1.134 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7004, allocations: 2.75 kB / 1.134 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.7005, allocations: 39.06 kB / 1.134 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.7005, allocations: 11.23 kB / 1.134 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.7006, allocations: 21.58 kB / 1.134 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.7006, allocations: 5.5 kB / 1.134 GB, free: 9.035 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 0.0001005/0.7007, allocations: 164.2 kB / 1.134 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.7007, allocations: 32.31 kB / 1.134 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.7008, allocations: 33.03 kB / 1.134 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7008, allocations: 5.422 kB / 1.134 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7008, allocations: 5.312 kB / 1.134 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.7008, allocations: 5.438 kB / 1.134 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.7011, allocations: 285.5 kB / 1.135 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.7011, allocations: 4.719 kB / 1.135 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.7012, allocations: 32.08 kB / 1.135 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.7014, allocations: 44.83 kB / 1.135 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.7014, allocations: 2.141 kB / 1.135 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006951/0.7021, allocations: 1.384 MB / 1.136 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7021, allocations: 1.25 kB / 1.136 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.7025, allocations: 403.3 kB / 1.137 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.7025, allocations: 50.47 kB / 1.137 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.7026, allocations: 7.375 kB / 1.137 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.7027, allocations: 9.328 kB / 1.137 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.7027, allocations: 11.72 kB / 1.137 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.7027, allocations: 9.906 kB / 1.137 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001399/0.7029, allocations: 208.3 kB / 1.137 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7029, allocations: 0 / 1.137 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002626/0.7031, allocations: 105.7 kB / 1.137 GB, free: 6.887 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.0001478/0.7033, allocations: 113.3 kB / 1.137 GB, free: 6.793 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.7035, allocations: 158.7 kB / 1.137 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7035, allocations: 384 / 1.137 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.7037, allocations: 199.5 kB / 1.137 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.7043, allocations: 194.9 kB / 1.138 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.705, allocations: 0.6968 MB / 1.138 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.7052, allocations: 188.2 kB / 1.138 GB, free: 5.996 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.7053, allocations: 31.88 kB / 1.138 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of SimCode: time 9.32e-07/0.7053, allocations: 0 / 1.138 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of Templates: time 0.007609/0.7129, allocations: 5.917 MB / 1.144 GB, free: 5.422 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.421474702656269]