Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001864/0.001864, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.002301/0.002301, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.721/2.721, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [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.002088/0.002088, allocations: 59.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8375, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01854/0.856, allocations: 22.25 MB / 1.176 GB, free: 19.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009127/0.8651, allocations: 6.436 MB / 1.182 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.8665, allocations: 131.5 kB / 1.182 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.8699, allocations: 1.506 MB / 1.184 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.8736, allocations: 1.938 MB / 1.185 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.8767, allocations: 1.474 MB / 1.187 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007224/0.8839, allocations: 6.902 MB / 1.194 GB, free: 9.246 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005468/0.8894, allocations: 3.728 MB / 1.197 GB, free: 7.383 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/0.8943, allocations: 2.932 MB / 1.2 GB, free: 6.098 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/0.9001, allocations: 3.556 MB / 1.204 GB, free: 4.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.9013, allocations: 0.5263 MB / 1.204 GB, free: 4.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.9041, allocations: 1.121 MB / 1.205 GB, free: 4.602 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003118/0.9072, allocations: 2.529 MB / 1.208 GB, free: 3.621 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003594/0.9108, allocations: 2.061 MB / 1.21 GB, free: 2.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.9237, allocations: 8.584 MB / 1.218 GB, free: 15.79 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.9237, allocations: 0 / 1.218 GB, free: 15.79 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.522e-06/0.9237, allocations: 1.156 kB / 1.218 GB, free: 15.79 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002725/0.924, allocations: 0 / 1.218 GB, free: 15.79 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.0125/0.9365, allocations: 4.478 MB / 1.222 GB, free: 13.21 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.9366, allocations: 9.219 kB / 1.222 GB, free: 13.21 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00947/0.946, allocations: 1.707 MB / 1.224 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/0.9527, allocations: 2.667 MB / 1.227 GB, free: 11.61 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.953, allocations: 278.6 kB / 1.227 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.954, allocations: 357.1 kB / 1.227 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.9688, allocations: 7.714 MB / 1.235 GB, free: 8.105 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.9689, allocations: 17.95 kB / 1.235 GB, free: 8.094 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005191/0.9694, allocations: 162 kB / 1.235 GB, free: 7.973 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006641/0.9701, allocations: 485.7 kB / 1.236 GB, free: 7.906 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.9803, allocations: 5.694 MB / 1.241 GB, free: 5.402 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03127/1.012, allocations: 19.96 MB / 1.261 GB, free: 6.492 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/1.015, allocations: 2.012 MB / 1.263 GB, free: 5.418 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/1.018, allocations: 2.1 MB / 1.265 GB, free: 4.32 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/1.018, allocations: 15.66 kB / 1.265 GB, free: 4.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/1.018, allocations: 53.31 kB / 1.265 GB, free: 4.262 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.586e-06/1.018, allocations: 0 / 1.265 GB, free: 4.262 MB / 1.107 GB Notification: Performance of matching and sorting (n=251): time 0.3336/1.351, allocations: 76.72 MB / 1.34 GB, free: 9.934 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/1.351, allocations: 77.41 kB / 1.34 GB, free: 9.844 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/1.354, allocations: 1.606 MB / 1.341 GB, free: 8.238 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004975/1.354, allocations: 73.64 kB / 1.341 GB, free: 8.16 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.356, allocations: 1.795 MB / 1.343 GB, free: 6.348 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.357, allocations: 0.8985 MB / 1.344 GB, free: 5.441 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/1.358, allocations: 485.4 kB / 1.344 GB, free: 4.961 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.358, allocations: 309 kB / 1.345 GB, free: 4.656 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004471/1.363, allocations: 2.73 MB / 1.347 GB, free: 1.922 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005285/1.368, allocations: 3.339 MB / 1.351 GB, free: 14.34 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.378, allocations: 6.386 MB / 1.357 GB, free: 7.707 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/1.378, allocations: 8 kB / 1.357 GB, free: 7.699 MB / 1.201 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03611/1.414, allocations: 14.39 MB / 1.371 GB, free: 9.254 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/1.414, allocations: 12 kB / 1.371 GB, free: 9.242 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.414, allocations: 19.83 kB / 1.371 GB, free: 9.227 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03175/1.446, allocations: 9.204 MB / 1.38 GB, free: 15.99 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.448, allocations: 307.3 kB / 1.38 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09171/1.539, allocations: 50.84 MB / 1.43 GB, free: 12.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/1.543, allocations: 223.7 kB / 1.43 GB, free: 11.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004493/1.543, allocations: 100 kB / 1.43 GB, free: 11.88 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003484/1.547, allocations: 1.587 MB / 1.432 GB, free: 10.29 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006712/1.547, allocations: 246.7 kB / 1.432 GB, free: 10.04 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03609/1.583, allocations: 14.47 MB / 1.446 GB, free: 11.52 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/1.583, allocations: 27.98 kB / 1.446 GB, free: 11.49 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001543/1.584, allocations: 48 kB / 1.446 GB, free: 11.45 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-05/1.584, allocations: 11.95 kB / 1.446 GB, free: 11.43 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04736/1.631, allocations: 18.94 MB / 1.465 GB, free: 8.328 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/1.631, allocations: 12 kB / 1.465 GB, free: 8.316 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009087/1.632, allocations: 163.7 kB / 1.465 GB, free: 8.156 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0322/1.664, allocations: 8.973 MB / 1.474 GB, free: 15.15 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000617/1.665, allocations: 48 kB / 1.474 GB, free: 15.11 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0924/1.757, allocations: 50.42 MB / 1.523 GB, free: 12.04 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.757, allocations: 11.94 kB / 1.523 GB, free: 12.03 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03547/1.793, allocations: 14.09 MB / 1.537 GB, free: 13.81 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/1.795, allocations: 0.7792 MB / 1.537 GB, free: 13.03 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007163/1.796, allocations: 48 kB / 1.537 GB, free: 12.98 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002635/1.799, allocations: 207.7 kB / 1.538 GB, free: 12.78 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001269/1.8, allocations: 253.3 kB / 1.538 GB, free: 12.53 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.8, allocations: 68.33 kB / 1.538 GB, free: 12.46 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.001627/1.802, allocations: 1.064 MB / 1.539 GB, free: 11.41 MB / 1.389 GB Notification: Performance of sort global known variables: time 1.31e-07/1.802, allocations: 3.938 kB / 1.539 GB, free: 11.4 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.005064/1.807, allocations: 1.613 MB / 1.541 GB, free: 9.789 MB / 1.389 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004112/1.807, allocations: 167.6 kB / 1.541 GB, free: 9.617 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.02715/1.834, allocations: 10.2 MB / 1.551 GB, free: 15.33 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/1.834, allocations: 4 kB / 1.551 GB, free: 15.33 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.02041/1.855, allocations: 7.003 MB / 1.558 GB, free: 8.258 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.858, allocations: 0.5346 MB / 1.558 GB, free: 7.734 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.875, allocations: 8.914 MB / 1.567 GB, free: 14.73 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004273/1.879, allocations: 2.681 MB / 1.569 GB, free: 12.01 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.001143/1.88, allocations: 386.8 kB / 1.57 GB, free: 11.63 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/1.88, allocations: 96.5 kB / 1.57 GB, free: 11.54 MB / 1.42 GB Notification: Performance of SimCode: time 8.11e-07/1.88, allocations: 0 / 1.57 GB, free: 11.54 MB / 1.42 GB Notification: Performance of Templates: time 0.148/2.028, allocations: 97.41 MB / 1.665 GB, free: 10.62 MB / 1.514 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 11.50387353100814]