Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001556/0.001556, allocations: 115.1 kB / 17.08 MB, free: 5.789 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.001572/0.001572, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.958/2.958, allocations: 489.3 MB / 0.7687 GB, free: 3.996 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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 75.88 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, 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_N): time 0.02521/1.206, allocations: 20.26 MB / 1.282 GB, free: 10.35 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01321/1.219, allocations: 6.447 MB / 1.289 GB, free: 5.922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/1.222, allocations: 89.53 kB / 1.289 GB, free: 5.895 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005922/1.228, allocations: 2.243 MB / 1.291 GB, free: 4.531 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004514/1.232, allocations: 1.179 MB / 1.292 GB, free: 3.805 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00414/1.236, allocations: 1.279 MB / 1.293 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008153/1.244, allocations: 4.846 MB / 1.298 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007974/1.252, allocations: 5.599 MB / 1.304 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/1.257, allocations: 2.087 MB / 1.306 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004735/1.262, allocations: 2.348 MB / 1.308 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00092/1.263, allocations: 430.1 kB / 1.308 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/1.266, allocations: 0.9952 MB / 1.309 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002342/1.268, allocations: 1.658 MB / 1.311 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003156/1.271, allocations: 1.911 MB / 1.313 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/1.282, allocations: 6.547 MB / 1.319 GB, free: 8.445 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/1.282, allocations: 1.094 kB / 1.319 GB, free: 8.445 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.655e-06/1.282, allocations: 0 / 1.319 GB, free: 8.445 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002198/1.282, allocations: 0 / 1.319 GB, free: 8.445 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01064/1.293, allocations: 3.543 MB / 1.323 GB, free: 6.379 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.293, allocations: 11.22 kB / 1.323 GB, free: 6.379 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/1.297, allocations: 0.6485 MB / 1.323 GB, free: 6.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/1.301, allocations: 2.06 MB / 1.325 GB, free: 5.102 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/1.302, allocations: 220.7 kB / 1.325 GB, free: 5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005651/1.302, allocations: 293 kB / 1.326 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/1.313, allocations: 4.893 MB / 1.331 GB, free: 2.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-05/1.313, allocations: 17.89 kB / 1.331 GB, free: 2.812 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003937/1.313, allocations: 127 kB / 1.331 GB, free: 2.719 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00051/1.314, allocations: 227.4 kB / 1.331 GB, free: 2.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007609/1.321, allocations: 3.748 MB / 1.335 GB, free: 1.203 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/1.349, allocations: 21.44 MB / 1.355 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/1.351, allocations: 1.305 MB / 1.357 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/1.352, allocations: 1.059 MB / 1.358 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.222e-05/1.353, allocations: 11.25 kB / 1.358 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.353, allocations: 52.66 kB / 1.358 GB, free: 12.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/1.353, allocations: 0 / 1.358 GB, free: 12.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.0263/1.379, allocations: 8.698 MB / 1.366 GB, free: 7.418 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/1.379, allocations: 66.31 kB / 1.366 GB, free: 7.355 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.381, allocations: 1.13 MB / 1.368 GB, free: 6.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1.381, allocations: 51.2 kB / 1.368 GB, free: 6.684 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/1.382, allocations: 1.335 MB / 1.369 GB, free: 5.508 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005265/1.383, allocations: 0.4899 MB / 1.369 GB, free: 5.074 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005632/1.383, allocations: 294.7 kB / 1.37 GB, free: 4.906 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.384, allocations: 310.4 kB / 1.37 GB, free: 4.602 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/1.385, allocations: 0.9108 MB / 1.371 GB, free: 4.125 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.387, allocations: 1.321 MB / 1.372 GB, free: 3.125 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003592/1.39, allocations: 2.431 MB / 1.374 GB, free: 1.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/1.39, allocations: 2.75 kB / 1.374 GB, free: 1.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006803/1.397, allocations: 3.473 MB / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/1.397, allocations: 9.844 kB / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/1.397, allocations: 16 kB / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003515/1.401, allocations: 1.188 MB / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/1.402, allocations: 255.6 kB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/1.422, allocations: 13.87 MB / 1.393 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/1.423, allocations: 87.97 kB / 1.393 GB, free: 15.83 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/1.424, allocations: 68 kB / 1.393 GB, free: 15.76 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002405/1.426, allocations: 1.106 MB / 1.394 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/1.426, allocations: 175 kB / 1.394 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/1.433, allocations: 3.165 MB / 1.397 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.433, allocations: 12 kB / 1.397 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/1.433, allocations: 15.94 kB / 1.397 GB, free: 11.26 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.433, allocations: 7.969 kB / 1.397 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/1.445, allocations: 6.256 MB / 1.403 GB, free: 4.852 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.445, allocations: 4 kB / 1.403 GB, free: 4.848 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/1.445, allocations: 143.8 kB / 1.404 GB, free: 4.707 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/1.448, allocations: 1.066 MB / 1.405 GB, free: 3.633 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.448, allocations: 35.98 kB / 1.405 GB, free: 3.598 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/1.467, allocations: 13.55 MB / 1.418 GB, free: 5.637 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.467, allocations: 8 kB / 1.418 GB, free: 5.629 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006046/1.473, allocations: 3.163 MB / 1.421 GB, free: 2.387 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/1.474, allocations: 431.9 kB / 1.421 GB, free: 1.945 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/1.475, allocations: 35.94 kB / 1.421 GB, free: 1.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008093/1.475, allocations: 79.89 kB / 1.422 GB, free: 1.832 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003717/1.476, allocations: 120.7 kB / 1.422 GB, free: 1.711 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.8e-05/1.476, allocations: 44 kB / 1.422 GB, free: 1.668 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00117/1.477, allocations: 0.7632 MB / 1.422 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.477, allocations: 0 / 1.422 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002349/1.479, allocations: 0.6602 MB / 1.423 GB, free: 248 kB / 1.107 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002593/1.48, allocations: 151 kB / 1.423 GB, free: 88 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005447/1.485, allocations: 3.146 MB / 1.426 GB, free: 12.9 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.485, allocations: 0 / 1.426 GB, free: 12.9 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003603/1.489, allocations: 1.966 MB / 1.428 GB, free: 10.89 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.492, allocations: 0.4915 MB / 1.429 GB, free: 10.42 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.503, allocations: 5.899 MB / 1.434 GB, free: 4.426 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/1.505, allocations: 2.383 MB / 1.437 GB, free: 2.016 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.506, allocations: 99.44 kB / 1.437 GB, free: 1.918 MB / 1.123 GB Notification: Performance of SimCode: time 6.41e-07/1.506, allocations: 0 / 1.437 GB, free: 1.918 MB / 1.123 GB Notification: Performance of Templates: time 0.1006/1.606, allocations: 79.61 MB / 1.515 GB, free: 2.375 MB / 1.201 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 18.550562757998705]