Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.eta|boi2.eta|boi3.eta",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves") translateModel(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.eta|boi2.eta|boi3.eta",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001756/0.001756, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.678/2.678, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 58.34 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3499, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves): time 0.7339/1.084, allocations: 82.33 MB / 1.107 GB, free: 16.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02907/1.113, allocations: 15.66 MB / 1.122 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005416/1.118, allocations: 81.72 kB / 1.122 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006197/1.125, allocations: 1.498 MB / 1.124 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01264/1.137, allocations: 2.918 MB / 1.127 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008376/1.146, allocations: 1.972 MB / 1.129 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01171/1.157, allocations: 5.495 MB / 1.134 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003943/1.161, allocations: 1.91 MB / 1.136 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005965/1.167, allocations: 1.998 MB / 1.138 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/1.171, allocations: 1.611 MB / 1.139 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007491/1.172, allocations: 200.8 kB / 1.14 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00733/1.179, allocations: 1.844 MB / 1.141 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/1.181, allocations: 0.7977 MB / 1.142 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005045/1.186, allocations: 1.485 MB / 1.144 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01223/1.198, allocations: 4.537 MB / 1.148 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.198, allocations: 0 / 1.148 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.837e-06/1.198, allocations: 1.062 kB / 1.148 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001357/1.198, allocations: 0 / 1.148 GB, free: 8.773 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.01247/1.211, allocations: 3.506 MB / 1.152 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/1.211, allocations: 8.969 kB / 1.152 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/1.213, allocations: 341 kB / 1.152 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008757/1.222, allocations: 2.649 MB / 1.154 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/1.222, allocations: 102.1 kB / 1.155 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006965/1.223, allocations: 135.1 kB / 1.155 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004936/1.228, allocations: 1.393 MB / 1.156 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.968e-05/1.228, allocations: 5.031 kB / 1.156 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/1.228, allocations: 53.16 kB / 1.156 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.857e-05/1.228, allocations: 38.16 kB / 1.156 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/1.232, allocations: 0.9935 MB / 1.157 GB, free: 2.781 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.01405/1.246, allocations: 6.844 MB / 1.164 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.247, allocations: 471.2 kB / 1.164 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/1.247, allocations: 294.5 kB / 1.165 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/1.248, allocations: 1.079 MB / 1.166 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/1.248, allocations: 43.47 kB / 1.166 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=58): time 2.184e-06/1.248, allocations: 0 / 1.166 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58): time 0.004528/1.253, allocations: 1.478 MB / 1.167 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/1.253, allocations: 62.78 kB / 1.167 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/1.26, allocations: 3.86 MB / 1.171 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002769/1.26, allocations: 40.8 kB / 1.171 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1.262, allocations: 1.285 MB / 1.172 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/1.262, allocations: 203.8 kB / 1.172 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/1.262, allocations: 189 kB / 1.173 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002739/1.263, allocations: 343.8 kB / 1.173 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/1.263, allocations: 274 kB / 1.173 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/1.264, allocations: 0.5625 MB / 1.174 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/1.266, allocations: 0.7509 MB / 1.174 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.266, allocations: 0 / 1.174 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0033/1.269, allocations: 1.174 MB / 1.176 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/1.269, allocations: 8.594 kB / 1.176 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.269, allocations: 5.938 kB / 1.176 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000838/1.27, allocations: 218 kB / 1.176 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/1.271, allocations: 159.3 kB / 1.176 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/1.272, allocations: 1.911 MB / 1.178 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/1.275, allocations: 144.7 kB / 1.178 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.275, allocations: 38.62 kB / 1.178 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002289/1.277, allocations: 0.8689 MB / 1.179 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009843/1.278, allocations: 0.5552 MB / 1.179 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001427/1.28, allocations: 0.741 MB / 1.18 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.462e-06/1.28, allocations: 2.938 kB / 1.18 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.00299/1.283, allocations: 1.165 MB / 1.181 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.283, allocations: 13.34 kB / 1.181 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.283, allocations: 4.938 kB / 1.181 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000703/1.284, allocations: 213 kB / 1.181 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/1.284, allocations: 159.7 kB / 1.182 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/1.286, allocations: 1.923 MB / 1.183 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/1.289, allocations: 99.38 kB / 1.184 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.289, allocations: 35.98 kB / 1.184 GB, free: 14.56 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004453/1.29, allocations: 244.6 kB / 1.184 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.291, allocations: 268.6 kB / 1.184 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/1.294, allocations: 1.096 MB / 1.185 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/1.294, allocations: 8 kB / 1.185 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.294, allocations: 4 kB / 1.185 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/1.296, allocations: 0.976 MB / 1.186 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008592/1.304, allocations: 2.874 MB / 1.189 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001358/1.305, allocations: 4 kB / 1.189 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/1.305, allocations: 67.89 kB / 1.189 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000768/1.306, allocations: 198.6 kB / 1.189 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/1.306, allocations: 19.98 kB / 1.189 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/1.307, allocations: 1.911 MB / 1.191 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.307, allocations: 0 / 1.191 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/1.31, allocations: 1.068 MB / 1.192 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/1.313, allocations: 0.5208 MB / 1.193 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/1.314, allocations: 15.94 kB / 1.193 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.316, allocations: 47.94 kB / 1.193 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.316, allocations: 44.31 kB / 1.193 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.317, allocations: 35.97 kB / 1.193 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.007158/1.324, allocations: 2.823 MB / 1.196 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.11e-07/1.324, allocations: 0 / 1.196 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0066/1.33, allocations: 1.112 MB / 1.197 GB, free: 0.8477 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (39): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002986/1.333, allocations: 0.8235 MB / 1.197 GB, free: 164 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003514/1.337, allocations: 1.178 MB / 1.199 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.337, allocations: 4.25 kB / 1.199 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009791/1.338, allocations: 322.4 kB / 1.199 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007502/1.345, allocations: 1.131 MB / 1.2 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00975/1.355, allocations: 4.371 MB / 1.204 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002401/1.358, allocations: 1.724 MB / 1.206 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002391/1.36, allocations: 499.7 kB / 1.206 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/1.361, allocations: 167.4 kB / 1.207 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of SimCode: time 9.01e-07/1.361, allocations: 3.938 kB / 1.207 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of Templates: time 0.08024/1.441, allocations: 45.47 MB / 1.251 GB, free: 9.773 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Boilers_Validation_BoilerTableEfficiencyCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches