Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001338/0.001339, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001334/0.001334, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.97 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6783/0.9696, allocations: 162.4 MB / 1.177 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005214/0.9749, allocations: 2.913 MB / 1.179 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.9757, allocations: 14.56 kB / 1.179 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000774/0.9765, allocations: 210.1 kB / 1.18 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.9787, allocations: 0.7791 MB / 1.18 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.9796, allocations: 338.1 kB / 1.181 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.9811, allocations: 0.9379 MB / 1.182 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.9815, allocations: 247.8 kB / 1.182 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.9821, allocations: 343.8 kB / 1.182 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000861/0.983, allocations: 294.3 kB / 1.182 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.9831, allocations: 33.06 kB / 1.182 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.9845, allocations: 0.6432 MB / 1.183 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.9847, allocations: 128.8 kB / 1.183 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.9849, allocations: 214.7 kB / 1.183 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.9862, allocations: 0.7408 MB / 1.184 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9862, allocations: 3.938 kB / 1.184 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9862, allocations: 0 / 1.184 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.9862, allocations: 9.5 kB / 1.184 GB, free: 6.418 MB / 0.8887 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.001112/0.9873, allocations: 0.7023 MB / 1.185 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.9874, allocations: 14.53 kB / 1.185 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.9884, allocations: 138.5 kB / 1.185 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.989, allocations: 399.2 kB / 1.185 GB, free: 5.387 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.989, allocations: 18.09 kB / 1.185 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.9891, allocations: 32.75 kB / 1.185 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.9896, allocations: 277.8 kB / 1.186 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.9896, allocations: 3.938 kB / 1.186 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.9896, allocations: 11.03 kB / 1.186 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.9897, allocations: 10.41 kB / 1.186 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.99, allocations: 198.1 kB / 1.186 GB, free: 5.078 MB / 0.8887 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.001701/0.9917, allocations: 1.325 MB / 1.187 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.9921, allocations: 187.2 kB / 1.187 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.9923, allocations: 92.84 kB / 1.187 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.9923, allocations: 2.5 kB / 1.187 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.9924, allocations: 39.97 kB / 1.188 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.9924, allocations: 0 / 1.188 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.0009571/0.9933, allocations: 403.5 kB / 1.188 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.9934, allocations: 52.81 kB / 1.188 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.9937, allocations: 299.6 kB / 1.188 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.9937, allocations: 30.7 kB / 1.188 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.9938, allocations: 198.2 kB / 1.188 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.9939, allocations: 76.92 kB / 1.189 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.994, allocations: 41.84 kB / 1.189 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9941, allocations: 343.9 kB / 1.189 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.9942, allocations: 63.25 kB / 1.189 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.9944, allocations: 115.4 kB / 1.189 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.9946, allocations: 197.5 kB / 1.189 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9946, allocations: 1.031 kB / 1.189 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000398/0.995, allocations: 249.6 kB / 1.189 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.995, allocations: 16.19 kB / 1.189 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.995, allocations: 1.156 kB / 1.189 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9951, allocations: 3.781 kB / 1.19 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.9953, allocations: 47.94 kB / 1.19 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.9953, allocations: 2.531 kB / 1.19 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.9956, allocations: 21.41 kB / 1.19 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.9956, allocations: 6.906 kB / 1.19 GB, free: 2.012 MB / 0.8887 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.0001865/0.9958, allocations: 162.6 kB / 1.19 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.9959, allocations: 43.38 kB / 1.19 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.996, allocations: 35.02 kB / 1.19 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.996, allocations: 2.75 kB / 1.19 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.996, allocations: 0 / 1.19 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.996, allocations: 0 / 1.19 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.9965, allocations: 410.5 kB / 1.19 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9965, allocations: 0 / 1.19 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.9967, allocations: 30.05 kB / 1.19 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/0.9969, allocations: 50.73 kB / 1.19 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.9969, allocations: 7.438 kB / 1.19 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.9982, allocations: 1.512 MB / 1.192 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9982, allocations: 0 / 1.192 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.9987, allocations: 401.8 kB / 1.192 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.9989, allocations: 125.8 kB / 1.192 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.9989, allocations: 14.47 kB / 1.192 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.9992, allocations: 4 kB / 1.192 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.9992, allocations: 13.02 kB / 1.192 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.9992, allocations: 9.266 kB / 1.192 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002172/0.9994, allocations: 216 kB / 1.193 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9994, allocations: 0 / 1.193 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004426/0.9999, allocations: 110.2 kB / 1.193 GB, free: 15.29 MB / 0.9044 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.0001988/1, allocations: 108.8 kB / 1.193 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003186/1, allocations: 177.7 kB / 1.193 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1, allocations: 0 / 1.193 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/1.001, allocations: 212.5 kB / 1.193 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009961/1.002, allocations: 190.9 kB / 1.193 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.003, allocations: 0.7808 MB / 1.194 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/1.003, allocations: 0.7937 MB / 1.195 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/1.003, allocations: 31.5 kB / 1.195 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/1.003, allocations: 3.938 kB / 1.195 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.007948/1.011, allocations: 5.723 MB / 1.2 GB, free: 10.55 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches