Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.002278/0.002278, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002829/0.002829, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.409/3.409, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.562e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0514/0.05143, allocations: 35.4 MB / 0.912 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.07068, allocations: 10.15 MB / 0.922 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.07328, allocations: 194.6 kB / 0.9221 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.08421, allocations: 3.936 MB / 0.926 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006272/0.09048, allocations: 2.206 MB / 0.9281 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005484/0.09597, allocations: 1.98 MB / 0.9301 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.1079, allocations: 8.133 MB / 0.938 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009705/0.1176, allocations: 5.269 MB / 0.9432 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009961/0.1275, allocations: 4.931 MB / 0.948 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006994/0.1345, allocations: 3.698 MB / 0.9516 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001557/0.1361, allocations: 0.6797 MB / 0.9523 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.1396, allocations: 1.377 MB / 0.9536 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.003593/0.1432, allocations: 2.833 MB / 0.9564 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.004145/0.1473, allocations: 2.199 MB / 0.9585 GB, free: 3.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.1619, allocations: 10.64 MB / 0.9689 GB, free: 8.652 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1619, allocations: 4 kB / 0.9689 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1619, allocations: 0 / 0.9689 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002656/0.1622, allocations: 3.938 kB / 0.9689 GB, free: 8.645 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01486/0.177, allocations: 6.22 MB / 0.975 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1771, allocations: 8.031 kB / 0.975 GB, free: 2.348 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005886/0.183, allocations: 1.523 MB / 0.9765 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007953/0.1909, allocations: 3.114 MB / 0.9795 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.1913, allocations: 357.9 kB / 0.9799 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.1924, allocations: 480.3 kB / 0.9803 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.2054, allocations: 5.991 MB / 0.9862 GB, free: 6.164 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/0.2056, allocations: 24 kB / 0.9862 GB, free: 6.141 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005889/0.2062, allocations: 212.3 kB / 0.9864 GB, free: 5.934 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006393/0.2068, allocations: 365 kB / 0.9867 GB, free: 5.574 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007377/0.2142, allocations: 2.131 MB / 0.9888 GB, free: 3.43 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04683/0.261, allocations: 31.43 MB / 1.02 GB, free: 3.035 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.2638, allocations: 1.055 MB / 1.021 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.2652, allocations: 0.7131 MB / 1.021 GB, free: 1.25 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.2653, allocations: 29.31 kB / 1.021 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.196e-05/0.2654, allocations: 58.7 kB / 1.021 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=157): time 3.717e-06/0.2654, allocations: 0 / 1.021 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of matching and sorting (n=160): time 0.01294/0.2783, allocations: 4.28 MB / 1.026 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/0.2784, allocations: 68.72 kB / 1.026 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/0.2818, allocations: 2.226 MB / 1.028 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/0.2821, allocations: 57.7 kB / 1.028 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/0.2846, allocations: 2.363 MB / 1.03 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008878/0.2855, allocations: 0.6318 MB / 1.031 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008493/0.2863, allocations: 481.9 kB / 1.031 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000255/0.2866, allocations: 480.8 kB / 1.032 GB, free: 6.43 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.2878, allocations: 0.508 MB / 1.032 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/0.29, allocations: 1.578 MB / 1.034 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/0.2937, allocations: 2.285 MB / 1.036 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/0.2937, allocations: 8 kB / 1.036 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006394/0.3001, allocations: 2.722 MB / 1.039 GB, free: 14.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.3001, allocations: 16 kB / 1.039 GB, free: 14.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.3002, allocations: 23.94 kB / 1.039 GB, free: 14.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/0.3036, allocations: 0.8394 MB / 1.039 GB, free: 13.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.3054, allocations: 427.3 kB / 1.04 GB, free: 13.06 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3955/0.7009, allocations: 23.93 MB / 1.063 GB, free: 181.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.7027, allocations: 127.8 kB / 1.063 GB, free: 181.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.7029, allocations: 100.2 kB / 1.063 GB, free: 181.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.704, allocations: 447.2 kB / 1.064 GB, free: 181.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.7044, allocations: 299.6 kB / 1.064 GB, free: 181.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003713/0.7081, allocations: 1.949 MB / 1.066 GB, free: 181.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.7081, allocations: 17.55 kB / 1.066 GB, free: 181.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/0.7082, allocations: 16.84 kB / 1.066 GB, free: 181.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.7082, allocations: 13.17 kB / 1.066 GB, free: 181.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00987/0.718, allocations: 6.55 MB / 1.072 GB, free: 180.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.718, allocations: 6.562 kB / 1.072 GB, free: 180.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.7189, allocations: 216.9 kB / 1.073 GB, free: 180.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/0.7216, allocations: 0.7857 MB / 1.073 GB, free: 180.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7217, allocations: 31.62 kB / 1.074 GB, free: 180 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.7348, allocations: 23.91 MB / 1.097 GB, free: 157.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.7348, allocations: 12.75 kB / 1.097 GB, free: 157.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003898/0.7387, allocations: 2.274 MB / 1.099 GB, free: 156.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.7399, allocations: 434.6 kB / 1.099 GB, free: 156.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.7402, allocations: 30.78 kB / 1.1 GB, free: 156.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.7412, allocations: 92.33 kB / 1.1 GB, free: 156.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.7416, allocations: 154.3 kB / 1.1 GB, free: 156.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.7417, allocations: 50.34 kB / 1.1 GB, free: 156.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001385/0.7431, allocations: 1.229 MB / 1.101 GB, free: 155.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.7431, allocations: 0 / 1.101 GB, free: 155.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002619/0.7457, allocations: 0.904 MB / 1.102 GB, free: 155.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.7459, allocations: 157.4 kB / 1.102 GB, free: 155.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005141/0.7511, allocations: 4.059 MB / 1.106 GB, free: 153.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.7511, allocations: 2.25 kB / 1.106 GB, free: 153.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003483/0.7546, allocations: 3.158 MB / 1.109 GB, free: 150.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/0.7578, allocations: 0.7718 MB / 1.11 GB, free: 150.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.7689, allocations: 7.177 MB / 1.117 GB, free: 146.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/0.7716, allocations: 2.385 MB / 1.119 GB, free: 145.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001519/0.7731, allocations: 434.5 kB / 1.12 GB, free: 145.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.7735, allocations: 130.9 kB / 1.12 GB, free: 145.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.193e-06/0.7735, allocations: 0 / 1.12 GB, free: 145.8 MB / 1.01 GB Notification: Performance of Templates: time 0.06554/0.839, allocations: 42.68 MB / 1.161 GB, free: 134.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 10.484458090970293]