Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001679/0.00168, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001672/0.001672, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.488/1.488, allocations: 222.9 MB / 245.7 MB, free: 4.203 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 3.047/3.047, allocations: 489.2 MB / 0.7687 GB, free: 3.754 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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.88 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.033/1.127, allocations: 26.68 MB / 1.289 GB, free: 5.973 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01707/1.144, allocations: 8.071 MB / 1.297 GB, free: 412 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/1.147, allocations: 118.9 kB / 1.297 GB, free: 372 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008192/1.156, allocations: 2.76 MB / 1.299 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006218/1.162, allocations: 1.59 MB / 1.301 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005772/1.168, allocations: 1.659 MB / 1.302 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01131/1.179, allocations: 6.154 MB / 1.309 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/1.19, allocations: 7.296 MB / 1.316 GB, free: 7.074 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00602/1.196, allocations: 2.576 MB / 1.318 GB, free: 5.879 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006996/1.203, allocations: 2.829 MB / 1.321 GB, free: 4.641 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002449/1.206, allocations: 0.5082 MB / 1.321 GB, free: 4.641 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005425/1.211, allocations: 1.28 MB / 1.323 GB, free: 4.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004854/1.216, allocations: 2.057 MB / 1.325 GB, free: 3.488 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007487/1.224, allocations: 2.38 MB / 1.327 GB, free: 1.961 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01745/1.241, allocations: 8.075 MB / 1.335 GB, free: 15.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.241, allocations: 0 / 1.335 GB, free: 15.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.575e-06/1.241, allocations: 1.156 kB / 1.335 GB, free: 15.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003714/1.242, allocations: 0 / 1.335 GB, free: 15.38 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01667/1.258, allocations: 4.338 MB / 1.339 GB, free: 12.53 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/1.258, allocations: 13.88 kB / 1.339 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/1.264, allocations: 0.8196 MB / 1.34 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006682/1.271, allocations: 2.596 MB / 1.342 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/1.271, allocations: 273.9 kB / 1.343 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/1.272, allocations: 378.3 kB / 1.343 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/1.289, allocations: 5.994 MB / 1.349 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/1.289, allocations: 18.73 kB / 1.349 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006431/1.29, allocations: 159.8 kB / 1.349 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007096/1.291, allocations: 279.6 kB / 1.349 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/1.302, allocations: 4.523 MB / 1.354 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0406/1.343, allocations: 27.5 MB / 1.381 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/1.345, allocations: 1.12 MB / 1.382 GB, free: 9.656 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/1.346, allocations: 1.03 MB / 1.383 GB, free: 9.133 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/1.346, allocations: 10.62 kB / 1.383 GB, free: 9.133 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/1.346, allocations: 49.06 kB / 1.383 GB, free: 9.078 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.015e-06/1.346, allocations: 0 / 1.383 GB, free: 9.078 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.02539/1.372, allocations: 9.727 MB / 1.392 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/1.372, allocations: 64.72 kB / 1.392 GB, free: 488 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/1.374, allocations: 1.498 MB / 1.394 GB, free: 14.98 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/1.375, allocations: 45.7 kB / 1.394 GB, free: 14.93 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/1.376, allocations: 1.715 MB / 1.396 GB, free: 13.2 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006877/1.377, allocations: 495.7 kB / 1.396 GB, free: 12.71 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006415/1.378, allocations: 331.4 kB / 1.396 GB, free: 12.38 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.378, allocations: 305.1 kB / 1.397 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/1.379, allocations: 0.9174 MB / 1.398 GB, free: 11.16 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/1.381, allocations: 1.459 MB / 1.399 GB, free: 9.457 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/1.385, allocations: 2.554 MB / 1.401 GB, free: 6.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.385, allocations: 4 kB / 1.401 GB, free: 6.656 MB / 1.092 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006726/1.392, allocations: 3.298 MB / 1.405 GB, free: 3.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/1.392, allocations: 14.19 kB / 1.405 GB, free: 3.309 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/1.392, allocations: 19.94 kB / 1.405 GB, free: 3.289 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/1.394, allocations: 0.7418 MB / 1.405 GB, free: 2.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/1.396, allocations: 387.4 kB / 1.406 GB, free: 2.141 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/1.416, allocations: 17.05 MB / 1.422 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.418, allocations: 103.9 kB / 1.423 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/1.418, allocations: 72 kB / 1.423 GB, free: 15.65 MB / 1.123 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002623/1.42, allocations: 1.308 MB / 1.424 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/1.421, allocations: 214.7 kB / 1.424 GB, free: 14.12 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/1.426, allocations: 2.784 MB / 1.427 GB, free: 11.3 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.426, allocations: 12 kB / 1.427 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.426, allocations: 8 kB / 1.427 GB, free: 11.28 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.426, allocations: 7.969 kB / 1.427 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/1.437, allocations: 6.229 MB / 1.433 GB, free: 4.875 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.437, allocations: 7.984 kB / 1.433 GB, free: 4.867 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.438, allocations: 231.6 kB / 1.433 GB, free: 4.641 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/1.441, allocations: 0.6674 MB / 1.434 GB, free: 3.945 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.921e-05/1.441, allocations: 32 kB / 1.434 GB, free: 3.914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/1.458, allocations: 16.79 MB / 1.45 GB, free: 1.863 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.458, allocations: 8 kB / 1.45 GB, free: 1.855 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00694/1.465, allocations: 4.013 MB / 1.454 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.466, allocations: 459.7 kB / 1.455 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/1.466, allocations: 51.86 kB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009301/1.467, allocations: 79.89 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/1.468, allocations: 116.7 kB / 1.455 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.468, allocations: 40 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00147/1.469, allocations: 0.9942 MB / 1.456 GB, free: 12 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.469, allocations: 0 / 1.456 GB, free: 12 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002503/1.472, allocations: 0.6836 MB / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002885/1.472, allocations: 157.4 kB / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005596/1.478, allocations: 3.527 MB / 1.46 GB, free: 7.512 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.478, allocations: 0 / 1.46 GB, free: 7.512 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003401/1.481, allocations: 2.303 MB / 1.462 GB, free: 5.09 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.484, allocations: 0.6705 MB / 1.463 GB, free: 4.434 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.497, allocations: 7.051 MB / 1.47 GB, free: 13.28 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00305/1.5, allocations: 2.719 MB / 1.473 GB, free: 10.53 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/1.501, allocations: 131.4 kB / 1.473 GB, free: 10.4 MB / 1.17 GB Notification: Performance of SimCode: time 7.31e-07/1.501, allocations: 0 / 1.473 GB, free: 10.4 MB / 1.17 GB Notification: Performance of Templates: time 0.223/1.724, allocations: 209.9 MB / 1.678 GB, free: 8.426 MB / 1.373 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 22.34334563300945]