Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 85.3 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 158.4 kB / 23 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.886/2.886, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 67.84 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.181, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02608/1.207, allocations: 21.26 MB / 1.175 GB, free: 19.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0277/1.235, allocations: 16.86 MB / 1.191 GB, free: 8.832 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0053/1.24, allocations: 172.2 kB / 1.191 GB, free: 8.746 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01312/1.253, allocations: 4.168 MB / 1.195 GB, free: 6.406 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0179/1.271, allocations: 3.588 MB / 1.199 GB, free: 4.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005704/1.277, allocations: 1.307 MB / 1.2 GB, free: 3.555 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01397/1.291, allocations: 5.787 MB / 1.206 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00646/1.297, allocations: 2.831 MB / 1.209 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008832/1.306, allocations: 2.825 MB / 1.211 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007654/1.314, allocations: 2.15 MB / 1.213 GB, free: 13.31 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001921/1.316, allocations: 369.4 kB / 1.214 GB, free: 13.31 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/1.32, allocations: 0.9492 MB / 1.215 GB, free: 13.09 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002536/1.323, allocations: 1.214 MB / 1.216 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005984/1.329, allocations: 1.632 MB / 1.218 GB, free: 11.6 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/1.343, allocations: 5.199 MB / 1.223 GB, free: 9.676 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/1.343, allocations: 1.406 kB / 1.223 GB, free: 9.676 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.565e-06/1.343, allocations: 0 / 1.223 GB, free: 9.676 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002705/1.343, allocations: 0 / 1.223 GB, free: 9.676 MB / 1.092 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.01942/1.363, allocations: 4.637 MB / 1.227 GB, free: 7.078 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.363, allocations: 12.81 kB / 1.227 GB, free: 7.074 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/1.382, allocations: 3.283 MB / 1.23 GB, free: 6.68 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009219/1.391, allocations: 2.156 MB / 1.232 GB, free: 5.461 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006543/1.392, allocations: 469.2 kB / 1.233 GB, free: 5.059 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000992/1.393, allocations: 239.8 kB / 1.233 GB, free: 4.977 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/1.409, allocations: 5.366 MB / 1.238 GB, free: 2.531 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-05/1.409, allocations: 7.938 kB / 1.238 GB, free: 2.523 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004223/1.41, allocations: 101.7 kB / 1.238 GB, free: 2.449 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003028/1.41, allocations: 174.4 kB / 1.239 GB, free: 2.426 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0176/1.428, allocations: 5.184 MB / 1.244 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03052/1.458, allocations: 8.762 MB / 1.252 GB, free: 11.24 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/1.47, allocations: 3.249 MB / 1.255 GB, free: 9.598 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004578/1.475, allocations: 1.369 MB / 1.257 GB, free: 8.902 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/1.475, allocations: 21.73 kB / 1.257 GB, free: 8.898 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006365/1.482, allocations: 2.452 MB / 1.259 GB, free: 6.965 MB / 1.107 GB Notification: Performance of pre-optimization done (n=163): time 1.188e-05/1.482, allocations: 0 / 1.259 GB, free: 6.965 MB / 1.107 GB Notification: Performance of matching and sorting (n=250): time 0.14/1.622, allocations: 27.52 MB / 1.286 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003828/1.622, allocations: 0.4927 MB / 1.287 GB, free: 216 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004833/1.627, allocations: 1.994 MB / 1.288 GB, free: 14.2 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0005203/1.627, allocations: 73.7 kB / 1.289 GB, free: 14.12 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/1.629, allocations: 1.473 MB / 1.29 GB, free: 12.64 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.631, allocations: 0.8598 MB / 1.291 GB, free: 11.77 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.632, allocations: 420.5 kB / 1.291 GB, free: 11.36 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.632, allocations: 305.1 kB / 1.292 GB, free: 11.05 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00618/1.638, allocations: 2.062 MB / 1.294 GB, free: 8.957 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006663/1.645, allocations: 2.768 MB / 1.296 GB, free: 5.977 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.657, allocations: 4.177 MB / 1.3 GB, free: 1.664 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.657, allocations: 4 kB / 1.3 GB, free: 1.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02154/1.679, allocations: 6.581 MB / 1.307 GB, free: 10.96 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/1.679, allocations: 148.8 kB / 1.307 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/1.679, allocations: 15.98 kB / 1.307 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/1.69, allocations: 2.916 MB / 1.31 GB, free: 7.844 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/1.693, allocations: 495.2 kB / 1.31 GB, free: 7.359 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04697/1.74, allocations: 18.2 MB / 1.328 GB, free: 4.984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/1.746, allocations: 327.6 kB / 1.328 GB, free: 4.664 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007142/1.746, allocations: 83.98 kB / 1.328 GB, free: 4.582 MB / 1.17 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.002655/1.749, allocations: 0.703 MB / 1.329 GB, free: 3.871 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.75, allocations: 326 kB / 1.329 GB, free: 3.551 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/1.751, allocations: 361.2 kB / 1.33 GB, free: 3.188 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/1.751, allocations: 24 kB / 1.33 GB, free: 3.164 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.085e-05/1.751, allocations: 8 kB / 1.33 GB, free: 3.156 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/1.752, allocations: 11.95 kB / 1.33 GB, free: 3.145 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006801/1.758, allocations: 2.73 MB / 1.332 GB, free: 388 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/1.758, allocations: 0 / 1.332 GB, free: 388 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/1.761, allocations: 419.3 kB / 1.333 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/1.772, allocations: 2.863 MB / 1.336 GB, free: 13.1 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004751/1.773, allocations: 55.95 kB / 1.336 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04517/1.818, allocations: 17.98 MB / 1.353 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.818, allocations: 0 / 1.353 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/1.839, allocations: 6.083 MB / 1.359 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/1.842, allocations: 0.5993 MB / 1.36 GB, free: 4.133 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/1.843, allocations: 48 kB / 1.36 GB, free: 4.086 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004396/1.848, allocations: 315.6 kB / 1.36 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001782/1.849, allocations: 358.5 kB / 1.36 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004605/1.85, allocations: 71.97 kB / 1.361 GB, free: 3.355 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003362/1.853, allocations: 1.32 MB / 1.362 GB, free: 2.027 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.8e-07/1.853, allocations: 0 / 1.362 GB, free: 2.027 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004958/1.858, allocations: 1.039 MB / 1.363 GB, free: 0.9883 MB / 1.201 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.0005639/1.859, allocations: 167.6 kB / 1.363 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02575/1.884, allocations: 6.457 MB / 1.369 GB, free: 10.23 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.885, allocations: 4 kB / 1.369 GB, free: 10.23 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01914/1.904, allocations: 3.927 MB / 1.373 GB, free: 6.273 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007196/1.911, allocations: 1.027 MB / 1.374 GB, free: 5.285 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/1.931, allocations: 6.805 MB / 1.381 GB, free: 14.44 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003377/1.935, allocations: 1.683 MB / 1.382 GB, free: 12.71 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003131/1.938, allocations: 475.4 kB / 1.383 GB, free: 12.25 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.939, allocations: 172.4 kB / 1.383 GB, free: 12.08 MB / 1.232 GB Notification: Performance of SimCode: time 1.713e-06/1.939, allocations: 4 kB / 1.383 GB, free: 12.07 MB / 1.232 GB Notification: Performance of Templates: time 0.1356/2.075, allocations: 73.2 MB / 1.455 GB, free: 4.047 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.247167727909982]