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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 111.6 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 191 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.634/2.634, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 65.62 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7218/1.037, allocations: 160.2 MB / 1.221 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005425/1.043, allocations: 2.905 MB / 1.223 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008405/1.044, allocations: 16.41 kB / 1.223 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008215/1.045, allocations: 182.6 kB / 1.224 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/1.047, allocations: 0.7247 MB / 1.224 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/1.048, allocations: 304.9 kB / 1.225 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00147/1.049, allocations: 0.942 MB / 1.225 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/1.05, allocations: 254.9 kB / 1.226 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/1.05, allocations: 345.6 kB / 1.226 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009407/1.051, allocations: 299.6 kB / 1.226 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/1.052, allocations: 31.5 kB / 1.226 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/1.053, allocations: 0.6853 MB / 1.227 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/1.053, allocations: 123.7 kB / 1.227 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/1.053, allocations: 218.8 kB / 1.227 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007656/1.054, allocations: 0.5576 MB / 1.228 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.054, allocations: 4 kB / 1.228 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/1.054, allocations: 0 / 1.228 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.786e-06/1.054, allocations: 0 / 1.228 GB, free: 0.707 MB / 0.9356 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.001154/1.055, allocations: 0.709 MB / 1.229 GB, free: 92 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.055, allocations: 10.94 kB / 1.229 GB, free: 92 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/1.056, allocations: 142.2 kB / 1.229 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/1.057, allocations: 401.6 kB / 1.229 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.057, allocations: 21.66 kB / 1.229 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/1.057, allocations: 23.62 kB / 1.229 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/1.057, allocations: 274.7 kB / 1.229 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/1.057, allocations: 0 / 1.229 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/1.058, allocations: 15.45 kB / 1.229 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/1.058, allocations: 10.06 kB / 1.229 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/1.058, allocations: 201.7 kB / 1.23 GB, free: 15.36 MB / 0.9512 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.001808/1.06, allocations: 1.32 MB / 1.231 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/1.06, allocations: 200.5 kB / 1.231 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/1.06, allocations: 88.83 kB / 1.231 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/1.06, allocations: 4 kB / 1.231 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.06, allocations: 34.56 kB / 1.231 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/1.06, allocations: 0 / 1.231 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0009611/1.061, allocations: 399.4 kB / 1.232 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.061, allocations: 51.41 kB / 1.232 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/1.062, allocations: 300.6 kB / 1.232 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/1.062, allocations: 33.69 kB / 1.232 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/1.062, allocations: 196 kB / 1.232 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/1.062, allocations: 70.95 kB / 1.232 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/1.062, allocations: 45.7 kB / 1.232 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.062, allocations: 342.8 kB / 1.233 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/1.062, allocations: 55.98 kB / 1.233 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/1.063, allocations: 114 kB / 1.233 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/1.063, allocations: 207.9 kB / 1.233 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.063, allocations: 0 / 1.233 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003757/1.063, allocations: 251.5 kB / 1.233 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.063, allocations: 7.938 kB / 1.233 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.063, allocations: 4 kB / 1.233 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.063, allocations: 0 / 1.233 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/1.063, allocations: 43.92 kB / 1.233 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.063, allocations: 4 kB / 1.233 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/1.064, allocations: 27.92 kB / 1.233 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/1.064, allocations: 12 kB / 1.233 GB, free: 11.62 MB / 0.9512 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.0001788/1.064, allocations: 161.8 kB / 1.233 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/1.064, allocations: 39.53 kB / 1.234 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/1.064, allocations: 35.08 kB / 1.234 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.064, allocations: 0 / 1.234 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/1.064, allocations: 4 kB / 1.234 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/1.064, allocations: 0 / 1.234 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/1.065, allocations: 413.2 kB / 1.234 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.065, allocations: 0 / 1.234 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/1.065, allocations: 35.92 kB / 1.234 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/1.065, allocations: 48.77 kB / 1.234 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.065, allocations: 0 / 1.234 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/1.067, allocations: 1.516 MB / 1.236 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.067, allocations: 0 / 1.236 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/1.067, allocations: 405.8 kB / 1.236 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/1.067, allocations: 128.7 kB / 1.236 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/1.067, allocations: 7.938 kB / 1.236 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/1.068, allocations: 11.98 kB / 1.236 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/1.068, allocations: 11.98 kB / 1.236 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/1.068, allocations: 8 kB / 1.236 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002328/1.068, allocations: 219.1 kB / 1.236 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.068, allocations: 0 / 1.236 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004174/1.068, allocations: 99.84 kB / 1.236 GB, free: 8.281 MB / 0.9512 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.0002081/1.069, allocations: 115.2 kB / 1.236 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003507/1.069, allocations: 175.8 kB / 1.237 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.069, allocations: 4 kB / 1.237 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/1.069, allocations: 197.3 kB / 1.237 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000979/1.07, allocations: 196.2 kB / 1.237 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/1.072, allocations: 0.8797 MB / 1.238 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/1.072, allocations: 0.7998 MB / 1.239 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/1.072, allocations: 27.44 kB / 1.239 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/1.072, allocations: 3.938 kB / 1.239 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of Templates: time 0.009568/1.082, allocations: 5.748 MB / 1.244 GB, free: 136 kB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (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 & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) 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) Reference file matches