Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.0009141, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001075/0.001075, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.9 MB / 0.666 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 11.94 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7109, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1799/0.8909, allocations: 147.9 MB / 1.099 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.8962, allocations: 3.248 MB / 1.102 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.8967, allocations: 15.88 kB / 1.102 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007184/0.8974, allocations: 199 kB / 1.102 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.8991, allocations: 0.6337 MB / 1.103 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.9001, allocations: 341.4 kB / 1.103 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.9015, allocations: 1.18 MB / 1.104 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.9019, allocations: 254.4 kB / 1.105 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.9025, allocations: 338.5 kB / 1.105 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.903, allocations: 322.7 kB / 1.105 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.9031, allocations: 16 kB / 1.105 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.904, allocations: 359.1 kB / 1.106 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.9042, allocations: 135.5 kB / 1.106 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.9044, allocations: 121.5 kB / 1.106 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.9051, allocations: 0.6469 MB / 1.106 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9051, allocations: 0 / 1.106 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9051, allocations: 0 / 1.106 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.9051, allocations: 4 kB / 1.106 GB, free: 3.367 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00134/0.9065, allocations: 0.7785 MB / 1.107 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.9065, allocations: 16.02 kB / 1.107 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.9076, allocations: 147.2 kB / 1.107 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.9083, allocations: 481.3 kB / 1.108 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.9084, allocations: 24.56 kB / 1.108 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.9085, allocations: 31.98 kB / 1.108 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.909, allocations: 319.6 kB / 1.108 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.9091, allocations: 0 / 1.108 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.9091, allocations: 12 kB / 1.108 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.9091, allocations: 8.562 kB / 1.108 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.9096, allocations: 222.1 kB / 1.108 GB, free: 1.254 MB / 0.8575 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.001923/0.9115, allocations: 1.414 MB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.9119, allocations: 231.4 kB / 1.11 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.9121, allocations: 104.8 kB / 1.11 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.9121, allocations: 3.984 kB / 1.11 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.9124, allocations: 165.1 kB / 1.11 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 3.427e-06/0.9124, allocations: 4 kB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002664/0.9151, allocations: 1.082 MB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.9151, allocations: 59.34 kB / 1.111 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/0.9157, allocations: 465.9 kB / 1.112 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.9157, allocations: 29.7 kB / 1.112 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.9159, allocations: 236.2 kB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-05/0.916, allocations: 110.5 kB / 1.112 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.916, allocations: 4 kB / 1.112 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9162, allocations: 354.8 kB / 1.113 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.9164, allocations: 128.7 kB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.9167, allocations: 174.9 kB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.9169, allocations: 153.5 kB / 1.113 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9169, allocations: 0 / 1.113 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009195/0.9178, allocations: 486.6 kB / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.9179, allocations: 4 kB / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9179, allocations: 4 kB / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.9182, allocations: 76.8 kB / 1.114 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.9185, allocations: 63.91 kB / 1.114 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.9205, allocations: 1.78 MB / 1.115 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.9209, allocations: 27.83 kB / 1.115 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.9209, allocations: 16.06 kB / 1.115 GB, free: 9.711 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.9212, allocations: 190.8 kB / 1.116 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.9213, allocations: 51.39 kB / 1.116 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.9214, allocations: 56.61 kB / 1.116 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.9214, allocations: 0 / 1.116 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.9214, allocations: 4 kB / 1.116 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.9215, allocations: 0 / 1.116 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.9231, allocations: 0.9616 MB / 1.117 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9231, allocations: 3.984 kB / 1.117 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.9235, allocations: 63.91 kB / 1.117 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.9238, allocations: 80.73 kB / 1.117 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.9238, allocations: 7.984 kB / 1.117 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.9252, allocations: 1.561 MB / 1.118 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9253, allocations: 0 / 1.118 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.9263, allocations: 0.5593 MB / 1.119 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.9264, allocations: 160.6 kB / 1.119 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.9265, allocations: 19.92 kB / 1.119 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.9269, allocations: 16.59 kB / 1.119 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.9269, allocations: 19.97 kB / 1.119 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.927, allocations: 15.98 kB / 1.119 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003636/0.9273, allocations: 303.1 kB / 1.119 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9273, allocations: 0 / 1.119 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005719/0.9279, allocations: 128 kB / 1.119 GB, free: 5.301 MB / 0.8731 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.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.929, allocations: 440.7 kB / 1.12 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009/0.9299, allocations: 450.3 kB / 1.12 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9299, allocations: 0 / 1.12 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.9303, allocations: 242.8 kB / 1.121 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.9314, allocations: 238.7 kB / 1.121 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.9333, allocations: 1.243 MB / 1.122 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.9338, allocations: 0.8504 MB / 1.123 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000358/0.9342, allocations: 92.3 kB / 1.123 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.783e-05/0.9343, allocations: 35.44 kB / 1.123 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.9343, allocations: 0 / 1.123 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of Templates: time 0.01496/0.9492, allocations: 8.195 MB / 1.131 GB, free: 9.738 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches