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.01031/0.01031, allocations: 97.73 kB / 15.73 MB, free: 6.062 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.001478/0.001479, allocations: 196.1 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.439/2.439, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02601/1.15, allocations: 22.63 MB / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02709/1.177, allocations: 17.62 MB / 1.206 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004988/1.182, allocations: 111.4 kB / 1.206 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01199/1.194, allocations: 4.188 MB / 1.21 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01628/1.21, allocations: 3.501 MB / 1.214 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004724/1.215, allocations: 1.313 MB / 1.215 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01137/1.227, allocations: 5.789 MB / 1.22 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005888/1.232, allocations: 3.584 MB / 1.224 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/1.237, allocations: 2.406 MB / 1.226 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005319/1.243, allocations: 2.452 MB / 1.229 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001529/1.244, allocations: 368 kB / 1.229 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/1.248, allocations: 1.03 MB / 1.23 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001911/1.25, allocations: 1.203 MB / 1.231 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003765/1.254, allocations: 1.99 MB / 1.233 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00873/1.262, allocations: 5.187 MB / 1.238 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.262, allocations: 0 / 1.238 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.245e-06/1.262, allocations: 0 / 1.238 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001637/1.262, allocations: 0 / 1.238 GB, free: 10.19 MB / 0.9669 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.01561/1.278, allocations: 4.726 MB / 1.243 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/1.278, allocations: 12.92 kB / 1.243 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/1.295, allocations: 3.275 MB / 1.246 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/1.3, allocations: 2.262 MB / 1.248 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/1.301, allocations: 466.2 kB / 1.249 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007451/1.302, allocations: 231.9 kB / 1.249 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/1.314, allocations: 4.818 MB / 1.254 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.938e-05/1.314, allocations: 0 / 1.254 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003469/1.314, allocations: 104 kB / 1.254 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/1.314, allocations: 172.8 kB / 1.254 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/1.329, allocations: 5.202 MB / 1.259 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/1.352, allocations: 14.41 MB / 1.273 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009885/1.362, allocations: 3.392 MB / 1.276 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00383/1.366, allocations: 1.475 MB / 1.278 GB, free: 72 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/1.366, allocations: 21.3 kB / 1.278 GB, free: 48 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004313/1.371, allocations: 1.79 MB / 1.28 GB, free: 14.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=163): time 3.847e-06/1.371, allocations: 4 kB / 1.28 GB, free: 14.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=250): time 0.1323/1.503, allocations: 28.31 MB / 1.307 GB, free: 1.664 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002779/1.503, allocations: 496.7 kB / 1.308 GB, free: 1.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004917/1.508, allocations: 2.296 MB / 1.31 GB, free: 14.76 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0006467/1.509, allocations: 77.7 kB / 1.31 GB, free: 14.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.51, allocations: 1.456 MB / 1.311 GB, free: 13.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.512, allocations: 0.8598 MB / 1.312 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001607/1.513, allocations: 420.5 kB / 1.313 GB, free: 11.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.514, allocations: 305.1 kB / 1.313 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005942/1.52, allocations: 1.925 MB / 1.315 GB, free: 9.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006119/1.526, allocations: 2.243 MB / 1.317 GB, free: 7.367 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/1.537, allocations: 4.154 MB / 1.321 GB, free: 3.078 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/1.537, allocations: 4 kB / 1.321 GB, free: 3.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02064/1.558, allocations: 6.56 MB / 1.328 GB, free: 12.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.558, allocations: 148.5 kB / 1.328 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/1.558, allocations: 4 kB / 1.328 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/1.569, allocations: 2.926 MB / 1.331 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/1.572, allocations: 483.2 kB / 1.331 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04267/1.614, allocations: 18.86 MB / 1.349 GB, free: 5.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/1.619, allocations: 323.6 kB / 1.35 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004745/1.619, allocations: 87.98 kB / 1.35 GB, free: 5.324 MB / 1.076 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.001782/1.621, allocations: 0.7104 MB / 1.351 GB, free: 4.605 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009194/1.622, allocations: 345.8 kB / 1.351 GB, free: 4.266 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/1.623, allocations: 384.1 kB / 1.351 GB, free: 3.883 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.623, allocations: 24 kB / 1.351 GB, free: 3.859 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-05/1.623, allocations: 12 kB / 1.351 GB, free: 3.848 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/1.623, allocations: 11.95 kB / 1.351 GB, free: 3.836 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/1.628, allocations: 3.62 MB / 1.355 GB, free: 164 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/1.628, allocations: 0 / 1.355 GB, free: 164 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.631, allocations: 423.3 kB / 1.355 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/1.641, allocations: 2.865 MB / 1.358 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005431/1.642, allocations: 55.97 kB / 1.358 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04149/1.683, allocations: 18.63 MB / 1.376 GB, free: 9.898 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.683, allocations: 7.938 kB / 1.376 GB, free: 9.891 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.703, allocations: 6.19 MB / 1.382 GB, free: 3.668 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/1.706, allocations: 0.7134 MB / 1.383 GB, free: 2.934 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.707, allocations: 47.94 kB / 1.383 GB, free: 2.887 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003691/1.71, allocations: 315.6 kB / 1.383 GB, free: 2.578 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/1.712, allocations: 350.7 kB / 1.384 GB, free: 2.234 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003028/1.712, allocations: 71.97 kB / 1.384 GB, free: 2.164 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002878/1.715, allocations: 1.536 MB / 1.385 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.11e-07/1.715, allocations: 0 / 1.385 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003318/1.718, allocations: 1.043 MB / 1.386 GB, free: 15.58 MB / 1.123 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.0004355/1.719, allocations: 163.6 kB / 1.386 GB, free: 15.41 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02425/1.743, allocations: 6.5 MB / 1.393 GB, free: 8.828 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.743, allocations: 4 kB / 1.393 GB, free: 8.824 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01811/1.761, allocations: 4.072 MB / 1.397 GB, free: 4.719 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006305/1.767, allocations: 1.138 MB / 1.398 GB, free: 3.625 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/1.786, allocations: 6.79 MB / 1.404 GB, free: 12.8 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002873/1.789, allocations: 2.231 MB / 1.407 GB, free: 10.54 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002767/1.791, allocations: 0.5138 MB / 1.407 GB, free: 10.02 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.792, allocations: 187.4 kB / 1.407 GB, free: 9.836 MB / 1.139 GB Notification: Performance of SimCode: time 9.02e-07/1.792, allocations: 0 / 1.407 GB, free: 9.836 MB / 1.139 GB Notification: Performance of Templates: time 0.1221/1.914, allocations: 75.65 MB / 1.481 GB, free: 14.95 MB / 1.217 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