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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 188.2 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.5 MB / 0.7321 GB, free: 12.41 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 71.88 kB / 1.062 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03159/1.064, allocations: 23.48 MB / 1.241 GB, free: 15.71 MB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.03503/1.099, allocations: 18.15 MB / 1.259 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005451/1.104, allocations: 150.8 kB / 1.259 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0148/1.119, allocations: 4.355 MB / 1.264 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01507/1.134, allocations: 3.597 MB / 1.267 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004696/1.139, allocations: 1.327 MB / 1.268 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01151/1.15, allocations: 5.799 MB / 1.274 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00618/1.156, allocations: 2.464 MB / 1.276 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006353/1.163, allocations: 2.523 MB / 1.279 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006693/1.169, allocations: 2.51 MB / 1.281 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002141/1.172, allocations: 368 kB / 1.282 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/1.176, allocations: 1.053 MB / 1.283 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002902/1.179, allocations: 1.226 MB / 1.284 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006202/1.185, allocations: 1.998 MB / 1.286 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/1.197, allocations: 5.191 MB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.197, allocations: 0 / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.197, allocations: 0 / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002479/1.197, allocations: 0 / 1.291 GB, free: 12.8 MB / 0.9981 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.01532/1.213, allocations: 4.73 MB / 1.296 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.213, allocations: 8.031 kB / 1.296 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/1.23, allocations: 3.283 MB / 1.299 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/1.236, allocations: 2.246 MB / 1.301 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005745/1.237, allocations: 462.3 kB / 1.301 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/1.238, allocations: 243.9 kB / 1.302 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/1.253, allocations: 4.806 MB / 1.306 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.299e-05/1.253, allocations: 0 / 1.306 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009271/1.254, allocations: 108 kB / 1.306 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/1.254, allocations: 172.8 kB / 1.307 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/1.27, allocations: 5.198 MB / 1.312 GB, free: 7.145 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03048/1.3, allocations: 14.4 MB / 1.326 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/1.311, allocations: 3.264 MB / 1.329 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003932/1.315, allocations: 1.377 MB / 1.33 GB, free: 2.926 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/1.315, allocations: 29.28 kB / 1.33 GB, free: 2.895 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004785/1.32, allocations: 1.786 MB / 1.332 GB, free: 1.043 MB / 1.029 GB Notification: Performance of pre-optimization done (n=163): time 4.939e-06/1.32, allocations: 0 / 1.332 GB, free: 1.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=250): time 0.1268/1.446, allocations: 28.23 MB / 1.36 GB, free: 4.594 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003626/1.447, allocations: 0.4889 MB / 1.36 GB, free: 3.996 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005413/1.452, allocations: 2.293 MB / 1.362 GB, free: 1.691 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0007928/1.453, allocations: 81.69 kB / 1.362 GB, free: 1.605 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002352/1.455, allocations: 1.46 MB / 1.364 GB, free: 136 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.457, allocations: 0.852 MB / 1.365 GB, free: 15.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/1.459, allocations: 416.5 kB / 1.365 GB, free: 14.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.459, allocations: 309.1 kB / 1.365 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005729/1.464, allocations: 1.929 MB / 1.367 GB, free: 12.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005799/1.47, allocations: 2.241 MB / 1.369 GB, free: 10.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.481, allocations: 4.15 MB / 1.373 GB, free: 6.012 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.481, allocations: 4 kB / 1.373 GB, free: 6.008 MB / 1.076 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02017/1.502, allocations: 6.482 MB / 1.38 GB, free: 15.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/1.502, allocations: 148.5 kB / 1.38 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/1.502, allocations: 4 kB / 1.38 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/1.512, allocations: 2.932 MB / 1.383 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/1.515, allocations: 483.2 kB / 1.383 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04768/1.563, allocations: 18.86 MB / 1.402 GB, free: 8.742 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/1.568, allocations: 315.6 kB / 1.402 GB, free: 8.434 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007438/1.568, allocations: 91.97 kB / 1.402 GB, free: 8.344 MB / 1.108 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.002274/1.571, allocations: 0.7179 MB / 1.403 GB, free: 7.617 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.572, allocations: 345.8 kB / 1.403 GB, free: 7.277 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/1.573, allocations: 380.1 kB / 1.403 GB, free: 6.898 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/1.573, allocations: 24 kB / 1.403 GB, free: 6.875 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.626e-05/1.573, allocations: 12 kB / 1.404 GB, free: 6.863 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-05/1.573, allocations: 11.95 kB / 1.404 GB, free: 6.852 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007218/1.58, allocations: 3.628 MB / 1.407 GB, free: 3.168 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/1.58, allocations: 0 / 1.407 GB, free: 3.168 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/1.583, allocations: 419.3 kB / 1.407 GB, free: 2.758 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/1.594, allocations: 2.863 MB / 1.41 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005572/1.594, allocations: 51.97 kB / 1.41 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04385/1.638, allocations: 18.63 MB / 1.429 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.638, allocations: 4 kB / 1.429 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/1.657, allocations: 6.108 MB / 1.434 GB, free: 6.758 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/1.66, allocations: 0.7173 MB / 1.435 GB, free: 6.02 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.661, allocations: 47.94 kB / 1.435 GB, free: 5.973 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003669/1.664, allocations: 311.6 kB / 1.436 GB, free: 5.668 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001475/1.666, allocations: 370.5 kB / 1.436 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003769/1.666, allocations: 67.97 kB / 1.436 GB, free: 5.234 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003595/1.67, allocations: 1.536 MB / 1.437 GB, free: 3.699 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/1.67, allocations: 0 / 1.437 GB, free: 3.699 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004307/1.674, allocations: 1.047 MB / 1.438 GB, free: 2.652 MB / 1.139 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.0005709/1.675, allocations: 167 kB / 1.439 GB, free: 2.48 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02479/1.699, allocations: 6.321 MB / 1.445 GB, free: 12.07 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.699, allocations: 0 / 1.445 GB, free: 12.07 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.018/1.717, allocations: 3.927 MB / 1.449 GB, free: 8.113 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005937/1.723, allocations: 1.135 MB / 1.45 GB, free: 7.02 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.742, allocations: 6.824 MB / 1.456 GB, free: 164 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003506/1.745, allocations: 2.227 MB / 1.459 GB, free: 13.9 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003092/1.748, allocations: 0.5135 MB / 1.459 GB, free: 13.38 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.749, allocations: 187.4 kB / 1.459 GB, free: 13.2 MB / 1.17 GB Notification: Performance of SimCode: time 1.463e-06/1.749, allocations: 0 / 1.459 GB, free: 13.2 MB / 1.17 GB Notification: Performance of Templates: time 0.1425/1.892, allocations: 78.33 MB / 1.536 GB, free: 15.64 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.77508665714413]