Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00145/0.00145, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001396/0.001396, allocations: 186 kB / 20.78 MB, free: 1.547 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.431/1.431, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 60.09 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9527/0.9546, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02373/0.9784, allocations: 21.22 MB / 1.293 GB, free: 9.934 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.9915, allocations: 6.683 MB / 1.299 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.9939, allocations: 86.75 kB / 1.299 GB, free: 5.402 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006421/1, allocations: 2.322 MB / 1.302 GB, free: 4.043 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004525/1.005, allocations: 1.24 MB / 1.303 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/1.009, allocations: 1.315 MB / 1.304 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007896/1.017, allocations: 4.852 MB / 1.309 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006823/1.024, allocations: 2.964 MB / 1.312 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/1.028, allocations: 2.113 MB / 1.314 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/1.033, allocations: 2.469 MB / 1.316 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001623/1.035, allocations: 429.9 kB / 1.317 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003608/1.039, allocations: 1.021 MB / 1.318 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003598/1.042, allocations: 1.712 MB / 1.319 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00543/1.048, allocations: 1.911 MB / 1.321 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/1.06, allocations: 6.536 MB / 1.328 GB, free: 8.602 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.06, allocations: 7.875 kB / 1.328 GB, free: 8.594 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/1.06, allocations: 0 / 1.328 GB, free: 8.594 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002433/1.06, allocations: 1.188 kB / 1.328 GB, free: 8.594 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.01478/1.075, allocations: 3.536 MB / 1.331 GB, free: 6.535 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.075, allocations: 10.75 kB / 1.331 GB, free: 6.535 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/1.08, allocations: 0.6534 MB / 1.332 GB, free: 6.332 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/1.087, allocations: 2.054 MB / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/1.087, allocations: 230.1 kB / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/1.088, allocations: 296.9 kB / 1.334 GB, free: 5.047 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/1.101, allocations: 4.888 MB / 1.339 GB, free: 2.352 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-05/1.101, allocations: 12.92 kB / 1.339 GB, free: 2.344 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004096/1.101, allocations: 130.4 kB / 1.339 GB, free: 2.246 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004986/1.102, allocations: 228.2 kB / 1.339 GB, free: 2.188 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008023/1.11, allocations: 3.746 MB / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03342/1.143, allocations: 21.44 MB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/1.145, allocations: 1.231 MB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/1.147, allocations: 0.9952 MB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/1.147, allocations: 11.72 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.147, allocations: 45.31 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 2.916e-06/1.147, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.02549/1.172, allocations: 8.653 MB / 1.375 GB, free: 6.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/1.172, allocations: 69.88 kB / 1.375 GB, free: 6.504 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/1.174, allocations: 1.134 MB / 1.376 GB, free: 5.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/1.175, allocations: 47.39 kB / 1.376 GB, free: 5.832 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.176, allocations: 1.337 MB / 1.377 GB, free: 4.652 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005185/1.176, allocations: 0.4912 MB / 1.378 GB, free: 4.219 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000552/1.177, allocations: 290.9 kB / 1.378 GB, free: 4.055 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.177, allocations: 305.1 kB / 1.378 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.178, allocations: 0.9103 MB / 1.379 GB, free: 3.277 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/1.18, allocations: 1.325 MB / 1.38 GB, free: 2.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/1.183, allocations: 2.436 MB / 1.383 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.183, allocations: 2.719 kB / 1.383 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006531/1.189, allocations: 3.434 MB / 1.386 GB, free: 13.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.19, allocations: 14.02 kB / 1.386 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.19, allocations: 12 kB / 1.386 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/1.193, allocations: 1.191 MB / 1.387 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009987/1.194, allocations: 251.6 kB / 1.387 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/1.213, allocations: 13.87 MB / 1.401 GB, free: 13.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.214, allocations: 87.97 kB / 1.401 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/1.214, allocations: 64 kB / 1.401 GB, free: 13.58 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.002157/1.217, allocations: 1.118 MB / 1.402 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/1.217, allocations: 170.9 kB / 1.402 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/1.223, allocations: 3.122 MB / 1.405 GB, free: 9.145 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/1.223, allocations: 16 kB / 1.405 GB, free: 9.129 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/1.223, allocations: 15.94 kB / 1.405 GB, free: 9.113 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.223, allocations: 7.969 kB / 1.405 GB, free: 9.105 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/1.234, allocations: 6.206 MB / 1.412 GB, free: 2.758 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.234, allocations: 4 kB / 1.412 GB, free: 2.754 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/1.235, allocations: 147.8 kB / 1.412 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/1.238, allocations: 1.077 MB / 1.413 GB, free: 1.527 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.238, allocations: 28 kB / 1.413 GB, free: 1.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/1.256, allocations: 13.54 MB / 1.426 GB, free: 3.535 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.256, allocations: 11.88 kB / 1.426 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/1.263, allocations: 3.124 MB / 1.429 GB, free: 320 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/1.264, allocations: 435.9 kB / 1.429 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/1.265, allocations: 24 kB / 1.429 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009061/1.266, allocations: 87.89 kB / 1.43 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006139/1.266, allocations: 120.7 kB / 1.43 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.266, allocations: 43.98 kB / 1.43 GB, free: 15.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001264/1.268, allocations: 0.7632 MB / 1.43 GB, free: 14.83 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/1.268, allocations: 0 / 1.43 GB, free: 14.83 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002699/1.27, allocations: 0.6562 MB / 1.431 GB, free: 14.17 MB / 1.123 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.0002973/1.271, allocations: 147.6 kB / 1.431 GB, free: 14.02 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005218/1.276, allocations: 3.01 MB / 1.434 GB, free: 10.97 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/1.276, allocations: 8.125 kB / 1.434 GB, free: 10.96 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003164/1.279, allocations: 1.884 MB / 1.436 GB, free: 9.043 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.282, allocations: 0.4995 MB / 1.437 GB, free: 8.559 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.292, allocations: 5.533 MB / 1.442 GB, free: 2.941 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/1.295, allocations: 2.336 MB / 1.444 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001151/1.296, allocations: 358.1 kB / 1.445 GB, free: 228 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/1.296, allocations: 95.36 kB / 1.445 GB, free: 132 kB / 1.123 GB Notification: Performance of SimCode: time 1.453e-06/1.296, allocations: 0 / 1.445 GB, free: 132 kB / 1.123 GB Notification: Performance of Templates: time 0.06266/1.359, allocations: 34.2 MB / 1.478 GB, free: 14.36 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.924236990511417]