Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 98.19 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.006516/0.006516, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.74/2.74, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 8 kB / 0.8728 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/0.725, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02284/0.7479, allocations: 21.71 MB / 1.044 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.7733, allocations: 17.36 MB / 1.061 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003993/0.7773, allocations: 103.4 kB / 1.061 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.7795, allocations: 0.5892 MB / 1.062 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009855/0.7894, allocations: 3.185 MB / 1.065 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.7926, allocations: 1.18 MB / 1.066 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008801/0.8015, allocations: 7.053 MB / 1.073 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003553/0.805, allocations: 2.558 MB / 1.075 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.8089, allocations: 2.05 MB / 1.077 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004479/0.8134, allocations: 2.284 MB / 1.08 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007755/0.8142, allocations: 172 kB / 1.08 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.8167, allocations: 1.057 MB / 1.081 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.8177, allocations: 0.9808 MB / 1.082 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00256/0.8203, allocations: 1.777 MB / 1.084 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005783/0.8261, allocations: 4.935 MB / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8261, allocations: 0 / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8262, allocations: 0 / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000145/0.8263, allocations: 4 kB / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01018/0.8365, allocations: 4.069 MB / 1.092 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.8366, allocations: 8.031 kB / 1.092 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/0.8543, allocations: 3.367 MB / 1.096 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004374/0.8587, allocations: 2.084 MB / 1.098 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/0.8592, allocations: 474.3 kB / 1.098 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000535/0.8597, allocations: 235.9 kB / 1.098 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.8707, allocations: 4.873 MB / 1.103 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.8708, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.8712, allocations: 112 kB / 1.103 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.8714, allocations: 172.8 kB / 1.103 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.8855, allocations: 5.315 MB / 1.109 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.9075, allocations: 14.59 MB / 1.123 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.9178, allocations: 3.684 MB / 1.126 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003997/0.9218, allocations: 1.592 MB / 1.128 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.922, allocations: 25.28 kB / 1.128 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004466/0.9265, allocations: 1.931 MB / 1.13 GB, free: 412 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=163): time 4.168e-06/0.9265, allocations: 0 / 1.13 GB, free: 412 kB / 0.8731 GB Notification: Performance of matching and sorting (n=250): time 0.1372/1.064, allocations: 34.14 MB / 1.163 GB, free: 14.03 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/1.064, allocations: 0.4889 MB / 1.164 GB, free: 13.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/1.067, allocations: 2.3 MB / 1.166 GB, free: 11.12 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004796/1.068, allocations: 77.7 kB / 1.166 GB, free: 11.04 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.069, allocations: 1.434 MB / 1.167 GB, free: 9.586 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009307/1.07, allocations: 0.8163 MB / 1.168 GB, free: 8.758 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/1.07, allocations: 194.4 kB / 1.168 GB, free: 8.562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.071, allocations: 301.1 kB / 1.169 GB, free: 8.266 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005616/1.076, allocations: 2.116 MB / 1.171 GB, free: 6.145 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005833/1.082, allocations: 2.419 MB / 1.173 GB, free: 3.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.094, allocations: 4.533 MB / 1.178 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/1.094, allocations: 4 kB / 1.178 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02026/1.114, allocations: 6.918 MB / 1.184 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/1.114, allocations: 148.5 kB / 1.185 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.114, allocations: 7.984 kB / 1.185 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/1.124, allocations: 2.926 MB / 1.187 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/1.128, allocations: 0.5696 MB / 1.188 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03916/1.167, allocations: 17.38 MB / 1.205 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005162/1.172, allocations: 415.6 kB / 1.205 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000634/1.173, allocations: 87.97 kB / 1.205 GB, free: 2.164 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002054/1.175, allocations: 0.7028 MB / 1.206 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000825/1.176, allocations: 332.1 kB / 1.206 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008947/1.176, allocations: 380.1 kB / 1.207 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.176, allocations: 27.98 kB / 1.207 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.903e-05/1.177, allocations: 15.98 kB / 1.207 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/1.177, allocations: 11.95 kB / 1.207 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/1.182, allocations: 3.624 MB / 1.21 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/1.182, allocations: 0 / 1.21 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/1.185, allocations: 0.5032 MB / 1.211 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01042/1.196, allocations: 2.865 MB / 1.214 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000546/1.196, allocations: 55.91 kB / 1.214 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03972/1.236, allocations: 17.14 MB / 1.23 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.236, allocations: 3.984 kB / 1.23 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/1.256, allocations: 6.552 MB / 1.237 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.258, allocations: 0.6961 MB / 1.238 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/1.258, allocations: 59.92 kB / 1.238 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/1.262, allocations: 407.6 kB / 1.238 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/1.263, allocations: 354.6 kB / 1.238 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.264, allocations: 68.02 kB / 1.238 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002157/1.266, allocations: 1.54 MB / 1.24 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.266, allocations: 0 / 1.24 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00287/1.269, allocations: 1.04 MB / 1.241 GB, free: 13.39 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004296/1.269, allocations: 175 kB / 1.241 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0256/1.295, allocations: 6.836 MB / 1.248 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.295, allocations: 0 / 1.248 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01905/1.314, allocations: 4.228 MB / 1.252 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005898/1.32, allocations: 1.056 MB / 1.253 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5728/1.893, allocations: 8.122 MB / 1.261 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003101/1.896, allocations: 2.237 MB / 1.263 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002821/1.899, allocations: 0.5121 MB / 1.263 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000752/1.899, allocations: 173.7 kB / 1.264 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.899, allocations: 0 / 1.264 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.1107/2.01, allocations: 72.06 MB / 1.334 GB, free: 160.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches