Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.00148/0.00148, allocations: 113.4 kB / 17.13 MB, free: 5.914 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.00157/0.00157, allocations: 192.6 kB / 20.08 MB, free: 2.98 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.553/1.553, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.781/2.781, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 67.89 kB / 1.057 GB, free: 1.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3023, allocations: 160.7 MB / 1.214 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01323/0.3155, allocations: 10.23 MB / 1.224 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006056/0.3216, allocations: 3.213 MB / 1.227 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007599/0.3223, allocations: 31.88 kB / 1.227 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.3241, allocations: 0.6062 MB / 1.228 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.326, allocations: 0.774 MB / 1.229 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.3277, allocations: 0.7522 MB / 1.229 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003691/0.3314, allocations: 2.988 MB / 1.232 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.3341, allocations: 1.965 MB / 1.234 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.336, allocations: 1.262 MB / 1.235 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.3387, allocations: 1.702 MB / 1.237 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004327/0.3392, allocations: 239.9 kB / 1.237 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3404, allocations: 0.5033 MB / 1.238 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.3417, allocations: 1.099 MB / 1.239 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.3431, allocations: 1.116 MB / 1.24 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.3474, allocations: 3.699 MB / 1.244 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.3474, allocations: 0 / 1.244 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3474, allocations: 0 / 1.244 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.62e-05/0.3474, allocations: 0 / 1.244 GB, free: 2.5 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00452/0.3519, allocations: 2.19 MB / 1.246 GB, free: 256 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.352, allocations: 8.031 kB / 1.246 GB, free: 248 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009752/0.3617, allocations: 1.322 MB / 1.247 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.3645, allocations: 1.306 MB / 1.248 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.3646, allocations: 111.4 kB / 1.248 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003888/0.365, allocations: 152.3 kB / 1.249 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00577/0.3708, allocations: 3.433 MB / 1.252 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/0.3708, allocations: 4 kB / 1.252 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.371, allocations: 71.95 kB / 1.252 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002872/0.3713, allocations: 207.1 kB / 1.252 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.3765, allocations: 3.127 MB / 1.255 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6623/1.039, allocations: 13.55 MB / 1.268 GB, free: 42.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/1.041, allocations: 1.602 MB / 1.27 GB, free: 42.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/1.043, allocations: 1.335 MB / 1.271 GB, free: 42.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/1.043, allocations: 14 kB / 1.271 GB, free: 42.35 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/1.043, allocations: 49.03 kB / 1.271 GB, free: 42.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.975e-06/1.043, allocations: 0 / 1.271 GB, free: 42.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183): time 0.1598/1.203, allocations: 36.56 MB / 1.307 GB, free: 35.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/1.203, allocations: 73.48 kB / 1.307 GB, free: 35.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/1.205, allocations: 1.059 MB / 1.308 GB, free: 35.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004064/1.205, allocations: 55.14 kB / 1.308 GB, free: 35.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/1.206, allocations: 0.8124 MB / 1.309 GB, free: 34.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/1.206, allocations: 0.6487 MB / 1.31 GB, free: 33.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007982/1.207, allocations: 370.6 kB / 1.31 GB, free: 33.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/1.207, allocations: 301.1 kB / 1.31 GB, free: 33.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/1.21, allocations: 1.931 MB / 1.312 GB, free: 32.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/1.213, allocations: 2.29 MB / 1.314 GB, free: 31.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005415/1.218, allocations: 4.392 MB / 1.319 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.218, allocations: 2.156 kB / 1.319 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01835/1.236, allocations: 8.878 MB / 1.327 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/1.236, allocations: 11.91 kB / 1.327 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.236, allocations: 7.625 kB / 1.327 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/1.252, allocations: 4.979 MB / 1.332 GB, free: 19.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/1.253, allocations: 199.6 kB / 1.332 GB, free: 19.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05589/1.309, allocations: 38.92 MB / 1.37 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.311, allocations: 103.9 kB / 1.371 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/1.312, allocations: 64 kB / 1.371 GB, free: 11.5 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001604/1.313, allocations: 0.8006 MB / 1.371 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004287/1.314, allocations: 151.1 kB / 1.372 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02192/1.336, allocations: 8.734 MB / 1.38 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.336, allocations: 23.33 kB / 1.38 GB, free: 1.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001029/1.336, allocations: 39.56 kB / 1.38 GB, free: 1.723 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/1.336, allocations: 11.95 kB / 1.38 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/1.366, allocations: 13.26 MB / 1.393 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/1.366, allocations: 4 kB / 1.393 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/1.367, allocations: 119.8 kB / 1.393 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01854/1.385, allocations: 4.839 MB / 1.398 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004521/1.386, allocations: 31.94 kB / 1.398 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06123/1.447, allocations: 36.85 MB / 1.434 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/1.447, allocations: 7.938 kB / 1.434 GB, free: 9.922 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/1.469, allocations: 8.448 MB / 1.442 GB, free: 1.387 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.47, allocations: 0.6405 MB / 1.443 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/1.471, allocations: 36 kB / 1.443 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.472, allocations: 95.88 kB / 1.443 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000871/1.473, allocations: 161.6 kB / 1.443 GB, free: 452 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.473, allocations: 48.52 kB / 1.443 GB, free: 404 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001136/1.474, allocations: 0.7382 MB / 1.444 GB, free: 15.64 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.474, allocations: 0 / 1.444 GB, free: 15.64 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003515/1.478, allocations: 1.008 MB / 1.445 GB, free: 14.64 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/1.478, allocations: 152.8 kB / 1.445 GB, free: 14.48 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.489, allocations: 5.74 MB / 1.451 GB, free: 8.688 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.489, allocations: 0 / 1.451 GB, free: 8.688 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.008891/1.498, allocations: 3.795 MB / 1.454 GB, free: 4.848 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/1.5, allocations: 253.2 kB / 1.455 GB, free: 4.621 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.511, allocations: 5.409 MB / 1.46 GB, free: 15.16 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/1.513, allocations: 1.898 MB / 1.462 GB, free: 13.22 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/1.514, allocations: 67.42 kB / 1.462 GB, free: 13.16 MB / 1.123 GB Notification: Performance of SimCode: time 2.024e-06/1.514, allocations: 0 / 1.462 GB, free: 13.16 MB / 1.123 GB Notification: Performance of Templates: time 0.1027/1.617, allocations: 69.48 MB / 1.53 GB, free: 7.668 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 16.188362843822688]