Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.00139/0.001389, allocations: 110.2 kB / 17.08 MB, free: 6 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.001475/0.001475, allocations: 190.8 kB / 20.02 MB, free: 3.07 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.495/1.495, allocations: 222.9 MB / 245.7 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.997/2.997, allocations: 490 MB / 0.7695 GB, free: 3.148 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.91 kB / 1.104 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 164 MB / 1.264 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02753/1.084, allocations: 23.42 MB / 1.287 GB, free: 7.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01359/1.098, allocations: 6.497 MB / 1.293 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/1.101, allocations: 102.2 kB / 1.293 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004524/1.106, allocations: 1.487 MB / 1.295 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005873/1.111, allocations: 1.826 MB / 1.296 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004662/1.116, allocations: 1.461 MB / 1.298 GB, free: 104 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01078/1.127, allocations: 6.901 MB / 1.305 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/1.137, allocations: 6.95 MB / 1.311 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006273/1.143, allocations: 2.845 MB / 1.314 GB, free: 9.047 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007407/1.151, allocations: 3.47 MB / 1.318 GB, free: 7.605 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001778/1.153, allocations: 0.5269 MB / 1.318 GB, free: 7.605 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/1.157, allocations: 1.176 MB / 1.319 GB, free: 7.359 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004256/1.161, allocations: 2.463 MB / 1.322 GB, free: 6.445 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005317/1.166, allocations: 2.53 MB / 1.324 GB, free: 4.836 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/1.181, allocations: 8.549 MB / 1.332 GB, free: 2.137 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.181, allocations: 0 / 1.332 GB, free: 2.137 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.505e-06/1.181, allocations: 0 / 1.332 GB, free: 2.137 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000315/1.181, allocations: 1.062 kB / 1.332 GB, free: 2.137 MB / 1.029 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.01484/1.196, allocations: 4.546 MB / 1.337 GB, free: 15.03 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.196, allocations: 9.031 kB / 1.337 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009721/1.206, allocations: 1.705 MB / 1.339 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006805/1.213, allocations: 2.712 MB / 1.341 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/1.213, allocations: 279.1 kB / 1.341 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/1.214, allocations: 356.5 kB / 1.342 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/1.23, allocations: 7.484 MB / 1.349 GB, free: 7.688 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/1.231, allocations: 18.55 kB / 1.349 GB, free: 7.676 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005859/1.231, allocations: 161.3 kB / 1.349 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006911/1.232, allocations: 485.3 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/1.244, allocations: 5.701 MB / 1.355 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04778/1.292, allocations: 31.55 MB / 1.386 GB, free: 7.184 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/1.296, allocations: 2.088 MB / 1.388 GB, free: 5.082 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003709/1.3, allocations: 2.182 MB / 1.39 GB, free: 2.898 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/1.3, allocations: 13.31 kB / 1.39 GB, free: 2.883 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/1.3, allocations: 51.88 kB / 1.39 GB, free: 2.824 MB / 1.076 GB Notification: Performance of pre-optimization done (n=146): time 4.187e-06/1.3, allocations: 0 / 1.39 GB, free: 2.824 MB / 1.076 GB Notification: Performance of matching and sorting (n=251): time 0.3302/1.631, allocations: 77.08 MB / 1.466 GB, free: 5.605 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/1.631, allocations: 77.41 kB / 1.466 GB, free: 5.516 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/1.634, allocations: 1.674 MB / 1.467 GB, free: 3.797 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006234/1.635, allocations: 65.7 kB / 1.467 GB, free: 3.727 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.636, allocations: 1.799 MB / 1.469 GB, free: 1.91 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.637, allocations: 0.8868 MB / 1.47 GB, free: 1.016 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.639, allocations: 489.4 kB / 1.47 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.639, allocations: 301.1 kB / 1.471 GB, free: 240 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/1.643, allocations: 2.73 MB / 1.473 GB, free: 13.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/1.648, allocations: 3.328 MB / 1.477 GB, free: 9.922 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009584/1.658, allocations: 6.397 MB / 1.483 GB, free: 3.285 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.682e-05/1.658, allocations: 8 kB / 1.483 GB, free: 3.277 MB / 1.17 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03579/1.694, allocations: 14.7 MB / 1.497 GB, free: 4.531 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/1.694, allocations: 15.94 kB / 1.497 GB, free: 4.516 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/1.694, allocations: 16 kB / 1.497 GB, free: 4.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03166/1.726, allocations: 9.242 MB / 1.506 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/1.727, allocations: 299.5 kB / 1.507 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08827/1.815, allocations: 52.39 MB / 1.558 GB, free: 5.668 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/1.819, allocations: 219.7 kB / 1.558 GB, free: 5.453 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/1.819, allocations: 96 kB / 1.558 GB, free: 5.359 MB / 1.248 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.003408/1.823, allocations: 1.597 MB / 1.56 GB, free: 3.754 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006758/1.823, allocations: 258.6 kB / 1.56 GB, free: 3.5 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03572/1.859, allocations: 14.76 MB / 1.574 GB, free: 4.684 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/1.859, allocations: 24 kB / 1.574 GB, free: 4.66 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000136/1.859, allocations: 44 kB / 1.574 GB, free: 4.617 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.184e-05/1.859, allocations: 11.95 kB / 1.574 GB, free: 4.605 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04545/1.905, allocations: 20.52 MB / 1.594 GB, free: 15.88 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/1.905, allocations: 4 kB / 1.594 GB, free: 15.88 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/1.906, allocations: 160.6 kB / 1.595 GB, free: 15.72 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03174/1.937, allocations: 9.015 MB / 1.603 GB, free: 6.68 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005718/1.938, allocations: 48 kB / 1.603 GB, free: 6.633 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08859/2.027, allocations: 51.96 MB / 1.654 GB, free: 1.797 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/2.027, allocations: 15.94 kB / 1.654 GB, free: 1.781 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03503/2.062, allocations: 14.38 MB / 1.668 GB, free: 3.254 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/2.064, allocations: 0.8546 MB / 1.669 GB, free: 2.379 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006109/2.065, allocations: 48.33 kB / 1.669 GB, free: 2.332 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/2.067, allocations: 207.7 kB / 1.669 GB, free: 2.129 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/2.068, allocations: 241.5 kB / 1.67 GB, free: 1.891 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/2.069, allocations: 71.94 kB / 1.67 GB, free: 1.82 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.001805/2.07, allocations: 1.121 MB / 1.671 GB, free: 0.6758 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.5e-07/2.07, allocations: 4 kB / 1.671 GB, free: 0.6719 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.005389/2.076, allocations: 1.613 MB / 1.672 GB, free: 15.05 MB / 1.373 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.0004449/2.076, allocations: 165 kB / 1.672 GB, free: 14.89 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.024/2.1, allocations: 10.58 MB / 1.683 GB, free: 4.234 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.1, allocations: 0 / 1.683 GB, free: 4.234 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.01903/2.119, allocations: 7.348 MB / 1.69 GB, free: 12.81 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/2.123, allocations: 0.552 MB / 1.69 GB, free: 12.27 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/2.142, allocations: 9.434 MB / 1.7 GB, free: 2.734 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004543/2.146, allocations: 3.298 MB / 1.703 GB, free: 15.4 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/2.147, allocations: 107.4 kB / 1.703 GB, free: 15.3 MB / 1.404 GB Notification: Performance of SimCode: time 1.463e-06/2.147, allocations: 0 / 1.703 GB, free: 15.3 MB / 1.404 GB Notification: Performance of Templates: time 0.929/3.076, allocations: 187.9 MB / 1.886 GB, free: 0.4936 GB / 1.529 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.378220604965463]