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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 104.1 kB / 18.18 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 184.5 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 489.7 MB / 0.7761 GB, free: 2.551 MB / 0.6075 GB [Timeout remaining time 86] 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=500,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=500,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.002169/0.002169, allocations: 67.89 kB / 1.127 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.157, allocations: 172 MB / 1.295 GB, free: 38.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01979/1.177, allocations: 23.77 MB / 1.318 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01013/1.187, allocations: 6.548 MB / 1.324 GB, free: 17.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/1.189, allocations: 95.94 kB / 1.325 GB, free: 17.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003142/1.192, allocations: 1.533 MB / 1.326 GB, free: 16.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003267/1.195, allocations: 1.941 MB / 1.328 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/1.198, allocations: 1.493 MB / 1.329 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007841/1.206, allocations: 6.901 MB / 1.336 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007379/1.213, allocations: 5.193 MB / 1.341 GB, free: 9.977 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005399/1.219, allocations: 2.882 MB / 1.344 GB, free: 8.691 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006574/1.225, allocations: 3.741 MB / 1.348 GB, free: 7.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/1.226, allocations: 0.5259 MB / 1.348 GB, free: 7.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/1.23, allocations: 1.196 MB / 1.349 GB, free: 6.984 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003355/1.233, allocations: 2.526 MB / 1.352 GB, free: 6.008 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003496/1.237, allocations: 2.533 MB / 1.354 GB, free: 4.395 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01307/1.25, allocations: 8.541 MB / 1.363 GB, free: 1.703 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.25, allocations: 1.156 kB / 1.363 GB, free: 1.703 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.866e-06/1.25, allocations: 4 kB / 1.363 GB, free: 1.699 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002752/1.25, allocations: 0 / 1.363 GB, free: 1.699 MB / 1.061 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.01183/1.262, allocations: 4.549 MB / 1.367 GB, free: 15.03 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.262, allocations: 9.656 kB / 1.367 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009159/1.271, allocations: 1.707 MB / 1.369 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00699/1.278, allocations: 2.703 MB / 1.371 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/1.278, allocations: 283.6 kB / 1.372 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009514/1.279, allocations: 360.7 kB / 1.372 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/1.296, allocations: 7.491 MB / 1.379 GB, free: 10.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.44e-05/1.296, allocations: 14.44 kB / 1.379 GB, free: 10.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005105/1.296, allocations: 164.7 kB / 1.38 GB, free: 9.988 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007867/1.297, allocations: 485.5 kB / 1.38 GB, free: 9.922 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/1.309, allocations: 5.703 MB / 1.386 GB, free: 8.008 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04298/1.352, allocations: 31.55 MB / 1.416 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/1.355, allocations: 2.017 MB / 1.418 GB, free: 11.76 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00314/1.358, allocations: 2.112 MB / 1.42 GB, free: 10.66 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/1.359, allocations: 14.47 kB / 1.42 GB, free: 10.65 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/1.359, allocations: 49.31 kB / 1.42 GB, free: 10.6 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.787e-06/1.359, allocations: 0 / 1.42 GB, free: 10.6 MB / 1.107 GB Notification: Performance of matching and sorting (n=251): time 0.2838/1.642, allocations: 76.8 MB / 1.495 GB, free: 2.113 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/1.643, allocations: 77.41 kB / 1.496 GB, free: 2.023 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/1.646, allocations: 1.674 MB / 1.497 GB, free: 312 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006827/1.647, allocations: 65.7 kB / 1.497 GB, free: 240 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/1.649, allocations: 1.795 MB / 1.499 GB, free: 14.42 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.65, allocations: 0.8907 MB / 1.5 GB, free: 13.52 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/1.652, allocations: 489.4 kB / 1.5 GB, free: 13.04 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.652, allocations: 305.1 kB / 1.501 GB, free: 12.74 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004607/1.657, allocations: 2.73 MB / 1.503 GB, free: 10 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00548/1.662, allocations: 3.332 MB / 1.507 GB, free: 6.422 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/1.673, allocations: 6.393 MB / 1.513 GB, free: 15.79 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/1.673, allocations: 4 kB / 1.513 GB, free: 15.78 MB / 1.201 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03637/1.71, allocations: 14.4 MB / 1.527 GB, free: 1.328 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/1.71, allocations: 15.94 kB / 1.527 GB, free: 1.312 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/1.71, allocations: 20.81 kB / 1.527 GB, free: 1.293 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03018/1.74, allocations: 9.247 MB / 1.536 GB, free: 8.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/1.741, allocations: 299.4 kB / 1.536 GB, free: 7.727 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1123/1.853, allocations: 52.4 MB / 1.587 GB, free: 2.449 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/1.857, allocations: 223.7 kB / 1.588 GB, free: 2.23 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007711/1.858, allocations: 96 kB / 1.588 GB, free: 2.137 MB / 1.264 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.004543/1.862, allocations: 1.594 MB / 1.589 GB, free: 0.5312 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.863, allocations: 258.5 kB / 1.589 GB, free: 284 kB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03514/1.898, allocations: 14.46 MB / 1.604 GB, free: 1.754 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.961e-05/1.898, allocations: 24 kB / 1.604 GB, free: 1.73 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002093/1.899, allocations: 44 kB / 1.604 GB, free: 1.688 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.488e-05/1.899, allocations: 11.95 kB / 1.604 GB, free: 1.676 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04978/1.948, allocations: 20.24 MB / 1.623 GB, free: 13.23 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/1.949, allocations: 4.844 kB / 1.623 GB, free: 13.23 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/1.949, allocations: 159.8 kB / 1.624 GB, free: 13.07 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03022/1.98, allocations: 9.016 MB / 1.632 GB, free: 4.031 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007932/1.98, allocations: 48 kB / 1.632 GB, free: 3.984 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09486/2.075, allocations: 51.97 MB / 1.683 GB, free: 15.14 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/2.075, allocations: 11.94 kB / 1.683 GB, free: 15.12 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03502/2.11, allocations: 14.1 MB / 1.697 GB, free: 0.8867 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003244/2.114, allocations: 0.8585 MB / 1.698 GB, free: 8 kB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/2.115, allocations: 56.06 kB / 1.698 GB, free: 15.95 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/2.118, allocations: 207.7 kB / 1.698 GB, free: 15.75 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001789/2.12, allocations: 245.4 kB / 1.698 GB, free: 15.5 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004721/2.12, allocations: 64 kB / 1.698 GB, free: 15.44 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.002471/2.123, allocations: 1.129 MB / 1.699 GB, free: 14.29 MB / 1.389 GB Notification: Performance of sort global known variables: time 7e-08/2.123, allocations: 0 / 1.699 GB, free: 14.29 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.007579/2.13, allocations: 1.609 MB / 1.701 GB, free: 12.68 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.0007132/2.131, allocations: 163.6 kB / 1.701 GB, free: 12.51 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.02357/2.155, allocations: 10.21 MB / 1.711 GB, free: 2.23 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/2.155, allocations: 0 / 1.711 GB, free: 2.23 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.01835/2.173, allocations: 7.007 MB / 1.718 GB, free: 11.14 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/2.178, allocations: 0.5545 MB / 1.719 GB, free: 10.59 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02275/2.2, allocations: 9.543 MB / 1.728 GB, free: 0.957 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005689/2.206, allocations: 3.306 MB / 1.731 GB, free: 13.62 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/2.207, allocations: 103.4 kB / 1.731 GB, free: 13.52 MB / 1.42 GB Notification: Performance of SimCode: time 1.844e-06/2.207, allocations: 0 / 1.731 GB, free: 13.52 MB / 1.42 GB Notification: Performance of Templates: time 0.9816/3.188, allocations: 188 MB / 1.915 GB, free: 494.2 MB / 1.545 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] 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