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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008308/0.0008309, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00599/0.00599, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9628/0.9632, allocations: 142.4 MB / 0.955 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2061/1.169, allocations: 158.6 MB / 1.11 GB, free: 212 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007544/1.177, allocations: 3.468 MB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/1.178, allocations: 15.94 kB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/1.179, allocations: 242.9 kB / 1.114 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002935/1.182, allocations: 0.7975 MB / 1.114 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/1.184, allocations: 425.8 kB / 1.115 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002095/1.186, allocations: 1.373 MB / 1.116 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/1.187, allocations: 277.5 kB / 1.116 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009598/1.187, allocations: 338.4 kB / 1.117 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/1.189, allocations: 341.8 kB / 1.117 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/1.189, allocations: 16 kB / 1.117 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/1.192, allocations: 0.7871 MB / 1.118 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/1.192, allocations: 147.5 kB / 1.118 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/1.193, allocations: 260.4 kB / 1.118 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/1.195, allocations: 0.9422 MB / 1.119 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.195, allocations: 0 / 1.119 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.455e-06/1.195, allocations: 0 / 1.119 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.596e-05/1.195, allocations: 0 / 1.119 GB, free: 6.785 MB / 0.8731 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.001807/1.197, allocations: 0.7785 MB / 1.12 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/1.197, allocations: 11.97 kB / 1.12 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/1.198, allocations: 151.2 kB / 1.12 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007827/1.199, allocations: 0.4929 MB / 1.12 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/1.199, allocations: 24.5 kB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/1.199, allocations: 28 kB / 1.12 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/1.2, allocations: 315.7 kB / 1.121 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/1.2, allocations: 0 / 1.121 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/1.2, allocations: 19.98 kB / 1.121 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/1.2, allocations: 16.55 kB / 1.121 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/1.2, allocations: 222.1 kB / 1.121 GB, free: 4.641 MB / 0.8731 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.002084/1.202, allocations: 1.418 MB / 1.122 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/1.203, allocations: 214.7 kB / 1.123 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/1.203, allocations: 112.8 kB / 1.123 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/1.203, allocations: 7.938 kB / 1.123 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/1.203, allocations: 165.2 kB / 1.123 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.843e-06/1.203, allocations: 0 / 1.123 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002852/1.206, allocations: 1.082 MB / 1.124 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/1.206, allocations: 59.34 kB / 1.124 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/1.207, allocations: 469.8 kB / 1.124 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/1.207, allocations: 33.7 kB / 1.124 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/1.207, allocations: 228.3 kB / 1.125 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.207, allocations: 106.5 kB / 1.125 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/1.207, allocations: 41.7 kB / 1.125 GB, free: 488 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.207, allocations: 354.8 kB / 1.125 GB, free: 124 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/1.208, allocations: 124.7 kB / 1.125 GB, free: 0 / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/1.208, allocations: 186.7 kB / 1.125 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/1.208, allocations: 311.8 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.208, allocations: 4 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009659/1.209, allocations: 482.2 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/1.209, allocations: 9.719 kB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.209, allocations: 3.938 kB / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/1.21, allocations: 84.95 kB / 1.126 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/1.21, allocations: 67.84 kB / 1.126 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/1.212, allocations: 1.741 MB / 1.128 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/1.212, allocations: 35.92 kB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/1.212, allocations: 16 kB / 1.128 GB, free: 12.9 MB / 0.8887 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * 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 (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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002886/1.213, allocations: 187 kB / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/1.213, allocations: 43.53 kB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/1.213, allocations: 56.55 kB / 1.128 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.213, allocations: 4 kB / 1.128 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.213, allocations: 4 kB / 1.128 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.213, allocations: 0 / 1.128 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/1.215, allocations: 0.9693 MB / 1.129 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.215, allocations: 0 / 1.129 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/1.215, allocations: 67.89 kB / 1.129 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/1.215, allocations: 76.8 kB / 1.13 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/1.215, allocations: 11.98 kB / 1.13 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/1.217, allocations: 1.561 MB / 1.131 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.217, allocations: 0 / 1.131 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/1.218, allocations: 0.5743 MB / 1.132 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/1.218, allocations: 152.5 kB / 1.132 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/1.218, allocations: 15.98 kB / 1.132 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/1.219, allocations: 16.64 kB / 1.132 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/1.219, allocations: 15.97 kB / 1.132 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/1.219, allocations: 15.98 kB / 1.132 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004028/1.219, allocations: 311.1 kB / 1.132 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.219, allocations: 4 kB / 1.132 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006296/1.22, allocations: 124 kB / 1.132 GB, free: 8.48 MB / 0.8887 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/1.221, allocations: 443.4 kB / 1.133 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008/1.222, allocations: 410.5 kB / 1.133 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.222, allocations: 4 kB / 1.133 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/1.222, allocations: 250.5 kB / 1.133 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/1.223, allocations: 230.3 kB / 1.134 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/1.225, allocations: 1.234 MB / 1.135 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/1.226, allocations: 0.8505 MB / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004182/1.226, allocations: 84.31 kB / 1.136 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/1.226, allocations: 35.44 kB / 1.136 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of SimCode: time 6.12e-07/1.227, allocations: 0 / 1.136 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of Templates: time 0.01649/1.243, allocations: 8.51 MB / 1.144 GB, free: 12.65 MB / 0.9044 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