Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001809/0.001809, allocations: 88.72 kB / 19.44 MB, free: 328 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.002267/0.002267, allocations: 161.7 kB / 22.76 MB, free: 1.652 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.273 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.234/3.234, allocations: 429.6 MB / 0.673 GB, free: 3.883 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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.7656 kB / 0.8776 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.409e-05, allocations: 5.406 kB / 0.8776 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0148/0.01482, allocations: 9.479 MB / 0.8869 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006951/0.02177, allocations: 3.145 MB / 0.8899 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008101/0.02258, allocations: 47.69 kB / 0.89 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.02464, allocations: 0.6028 MB / 0.8906 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.02668, allocations: 0.8019 MB / 0.8913 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.02856, allocations: 0.7484 MB / 0.8921 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004285/0.03285, allocations: 3.046 MB / 0.8951 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.03574, allocations: 1.423 MB / 0.8964 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.039, allocations: 1.731 MB / 0.8981 GB, free: 220 kB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.04182, allocations: 1.571 MB / 0.8997 GB, free: 14.64 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005685/0.04239, allocations: 236 kB / 0.8999 GB, free: 14.41 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.04362, allocations: 483.2 kB / 0.9004 GB, free: 13.94 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001621/0.04524, allocations: 1.157 MB / 0.9015 GB, free: 12.78 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.04676, allocations: 0.7797 MB / 0.9022 GB, free: 12 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005235/0.052, allocations: 3.794 MB / 0.906 GB, free: 8.191 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.052, allocations: 0 / 0.906 GB, free: 8.191 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.302e-06/0.052, allocations: 0 / 0.906 GB, free: 8.191 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.094e-05/0.05205, allocations: 0 / 0.906 GB, free: 8.191 MB / 0.823 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.004379/0.05643, allocations: 2.103 MB / 0.908 GB, free: 6.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.05648, allocations: 12.03 kB / 0.908 GB, free: 6.035 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009691/0.06617, allocations: 1.736 MB / 0.9097 GB, free: 4.297 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.06888, allocations: 1.292 MB / 0.911 GB, free: 2.977 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.069, allocations: 115.3 kB / 0.9111 GB, free: 2.863 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.06934, allocations: 156.3 kB / 0.9112 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006277/0.07562, allocations: 3.512 MB / 0.9147 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/0.07566, allocations: 12.06 kB / 0.9147 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.07591, allocations: 68.34 kB / 0.9147 GB, free: 15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003263/0.07624, allocations: 203.1 kB / 0.9149 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005856/0.08209, allocations: 3.12 MB / 0.918 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/0.09955, allocations: 9.869 MB / 0.9276 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.1024, allocations: 1.617 MB / 0.9292 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.1049, allocations: 1.331 MB / 0.9305 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.374e-05/0.105, allocations: 20.98 kB / 0.9305 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.105, allocations: 39.56 kB / 0.9306 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=104): time 2.505e-06/0.105, allocations: 0 / 0.9306 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=183): time 0.1545/0.2595, allocations: 36.22 MB / 0.9659 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.2596, allocations: 73.34 kB / 0.966 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.2616, allocations: 1.044 MB / 0.967 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003711/0.262, allocations: 53.7 kB / 0.9671 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008366/0.2628, allocations: 0.8053 MB / 0.9679 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009812/0.2638, allocations: 0.6429 MB / 0.9685 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.2648, allocations: 359.5 kB / 0.9688 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.265, allocations: 301.1 kB / 0.9691 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003526/0.2685, allocations: 1.928 MB / 0.971 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004146/0.2726, allocations: 2.3 MB / 0.9732 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007367/0.28, allocations: 4.386 MB / 0.9775 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.28, allocations: 4 kB / 0.9775 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02422/0.3042, allocations: 8.95 MB / 0.9863 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.3043, allocations: 8 kB / 0.9863 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.3043, allocations: 8 kB / 0.9863 GB, free: 5.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02076/0.3251, allocations: 5.18 MB / 0.9913 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/0.326, allocations: 187.7 kB / 0.9915 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4461/0.7721, allocations: 37.94 MB / 1.029 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.774, allocations: 103.4 kB / 1.029 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.7742, allocations: 65.27 kB / 1.029 GB, free: 141.7 MB / 0.9323 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.001276/0.7755, allocations: 0.801 MB / 1.03 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/0.7759, allocations: 207.4 kB / 1.03 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/0.7973, allocations: 8.739 MB / 1.038 GB, free: 138.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.7974, allocations: 17.84 kB / 1.038 GB, free: 138.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.39e-05/0.7974, allocations: 34.41 kB / 1.038 GB, free: 138.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/0.7975, allocations: 13.25 kB / 1.038 GB, free: 138.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/0.8238, allocations: 12.39 MB / 1.05 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/0.8238, allocations: 3.812 kB / 1.05 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.8243, allocations: 121.5 kB / 1.051 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01753/0.8418, allocations: 5.01 MB / 1.055 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/0.8422, allocations: 35.06 kB / 1.055 GB, free: 134 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04709/0.8892, allocations: 35.9 MB / 1.091 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8892, allocations: 4 kB / 1.091 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.9063, allocations: 8.498 MB / 1.099 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.9076, allocations: 0.5731 MB / 1.099 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/0.908, allocations: 43.94 kB / 1.099 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.9093, allocations: 91.89 kB / 1.1 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008126/0.9101, allocations: 173.4 kB / 1.1 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.9103, allocations: 48 kB / 1.1 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008323/0.9111, allocations: 0.7141 MB / 1.1 GB, free: 99.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.9111, allocations: 0 / 1.1 GB, free: 99.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002899/0.914, allocations: 1.008 MB / 1.101 GB, free: 98.7 MB / 0.9323 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.0002957/0.9143, allocations: 145.6 kB / 1.102 GB, free: 98.55 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008049/0.9223, allocations: 5.744 MB / 1.107 GB, free: 92.76 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.9223, allocations: 0 / 1.107 GB, free: 92.76 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006599/0.9289, allocations: 3.785 MB / 1.111 GB, free: 88.94 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.9303, allocations: 246.1 kB / 1.111 GB, free: 88.72 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00698/0.9373, allocations: 5.226 MB / 1.116 GB, free: 83.45 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.9387, allocations: 1.263 MB / 1.117 GB, free: 82.14 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006766/0.9394, allocations: 348.8 kB / 1.118 GB, free: 81.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.9395, allocations: 60.48 kB / 1.118 GB, free: 81.75 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/0.9395, allocations: 0 / 1.118 GB, free: 81.75 MB / 0.9323 GB Notification: Performance of Templates: time 0.06321/1.003, allocations: 64.25 MB / 1.181 GB, free: 17.45 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.071258050040342]