Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 107 kB / 16.4 MB, free: 6.504 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 437 MB / 0.717 GB, free: 4.102 MB / 0.5762 GB [Timeout remaining time 87] 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.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.027 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9938/0.9958, allocations: 151.6 MB / 1.175 GB, free: 17.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03816/1.034, allocations: 32.61 MB / 1.207 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02299/1.057, allocations: 10.27 MB / 1.217 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005561/1.063, allocations: 146.4 kB / 1.217 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01145/1.074, allocations: 3.712 MB / 1.221 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007875/1.082, allocations: 1.859 MB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007906/1.09, allocations: 2.128 MB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01181/1.102, allocations: 7.335 MB / 1.232 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01659/1.118, allocations: 9.42 MB / 1.241 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007359/1.126, allocations: 3.176 MB / 1.244 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007524/1.133, allocations: 3.481 MB / 1.248 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002316/1.136, allocations: 0.6445 MB / 1.248 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005454/1.141, allocations: 1.775 MB / 1.25 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004387/1.146, allocations: 2.546 MB / 1.252 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.007883/1.154, allocations: 2.898 MB / 1.255 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01669/1.17, allocations: 10.13 MB / 1.265 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.17, allocations: 0 / 1.265 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.421e-06/1.17, allocations: 3.984 kB / 1.265 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003522/1.171, allocations: 0 / 1.265 GB, free: 12.68 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01433/1.185, allocations: 5.127 MB / 1.27 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.185, allocations: 8.922 kB / 1.27 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/1.191, allocations: 0.9813 MB / 1.271 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00657/1.198, allocations: 3.059 MB / 1.274 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/1.198, allocations: 349.7 kB / 1.274 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/1.199, allocations: 464.3 kB / 1.275 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/1.215, allocations: 7.663 MB / 1.282 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/1.215, allocations: 27.72 kB / 1.282 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005367/1.216, allocations: 204 kB / 1.283 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003614/1.216, allocations: 316.9 kB / 1.283 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/1.227, allocations: 5.71 MB / 1.288 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03785/1.265, allocations: 34.88 MB / 1.323 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/1.268, allocations: 2.156 MB / 1.325 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/1.27, allocations: 1.264 MB / 1.326 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.819e-05/1.27, allocations: 17.3 kB / 1.326 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.27, allocations: 47.88 kB / 1.326 GB, free: 10.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 3.106e-06/1.27, allocations: 4 kB / 1.326 GB, free: 10.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01509/1.285, allocations: 7.142 MB / 1.333 GB, free: 3.199 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/1.285, allocations: 64.72 kB / 1.333 GB, free: 3.125 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/1.288, allocations: 1.488 MB / 1.334 GB, free: 1.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/1.288, allocations: 49.7 kB / 1.334 GB, free: 1.535 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/1.289, allocations: 2.066 MB / 1.336 GB, free: 15.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/1.29, allocations: 0.4958 MB / 1.337 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/1.29, allocations: 359.3 kB / 1.337 GB, free: 14.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.291, allocations: 305.1 kB / 1.338 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.292, allocations: 0.9135 MB / 1.338 GB, free: 13.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.294, allocations: 1.589 MB / 1.34 GB, free: 11.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/1.298, allocations: 2.741 MB / 1.343 GB, free: 8.422 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/1.298, allocations: 4 kB / 1.343 GB, free: 8.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006643/1.304, allocations: 3.543 MB / 1.346 GB, free: 4.832 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.304, allocations: 18.97 kB / 1.346 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/1.304, allocations: 27.94 kB / 1.346 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/1.307, allocations: 0.9 MB / 1.347 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.308, allocations: 351.3 kB / 1.347 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02369/1.332, allocations: 23.11 MB / 1.37 GB, free: 10.72 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/1.334, allocations: 108 kB / 1.37 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/1.334, allocations: 80 kB / 1.37 GB, free: 10.54 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.002618/1.337, allocations: 1.618 MB / 1.372 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/1.337, allocations: 218.6 kB / 1.372 GB, free: 8.691 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005692/1.343, allocations: 2.994 MB / 1.375 GB, free: 5.648 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.343, allocations: 12 kB / 1.375 GB, free: 5.637 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/1.343, allocations: 12 kB / 1.375 GB, free: 5.625 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.343, allocations: 3.984 kB / 1.375 GB, free: 5.621 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.355, allocations: 7.336 MB / 1.382 GB, free: 14.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.355, allocations: 4.562 kB / 1.382 GB, free: 14.04 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/1.356, allocations: 187.7 kB / 1.382 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002556/1.358, allocations: 0.8258 MB / 1.383 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/1.358, allocations: 27.94 kB / 1.383 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02164/1.38, allocations: 21.97 MB / 1.405 GB, free: 5.309 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.38, allocations: 4 kB / 1.405 GB, free: 5.305 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/1.386, allocations: 3.03 MB / 1.408 GB, free: 2.16 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/1.387, allocations: 467.6 kB / 1.408 GB, free: 1.684 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/1.387, allocations: 39.94 kB / 1.408 GB, free: 1.645 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/1.388, allocations: 67.92 kB / 1.408 GB, free: 1.578 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/1.388, allocations: 128.7 kB / 1.408 GB, free: 1.453 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.121e-05/1.388, allocations: 36 kB / 1.408 GB, free: 1.418 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001378/1.39, allocations: 0.9756 MB / 1.409 GB, free: 428 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.39, allocations: 3.938 kB / 1.409 GB, free: 424 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.002739/1.392, allocations: 0.7891 MB / 1.41 GB, free: 15.62 MB / 1.139 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003212/1.393, allocations: 145.7 kB / 1.41 GB, free: 15.47 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007078/1.4, allocations: 4.043 MB / 1.414 GB, free: 11.28 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.4, allocations: 0 / 1.414 GB, free: 11.28 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00404/1.404, allocations: 2.74 MB / 1.417 GB, free: 8.387 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/1.407, allocations: 0.7329 MB / 1.417 GB, free: 7.68 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.422, allocations: 7.235 MB / 1.424 GB, free: 360 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004124/1.426, allocations: 3.105 MB / 1.428 GB, free: 13.21 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001653/1.428, allocations: 453.9 kB / 1.428 GB, free: 12.77 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/1.428, allocations: 115.4 kB / 1.428 GB, free: 12.66 MB / 1.154 GB Notification: Performance of SimCode: time 7.61e-07/1.428, allocations: 0 / 1.428 GB, free: 12.66 MB / 1.154 GB Notification: Performance of Templates: time 0.06823/1.496, allocations: 36.24 MB / 1.463 GB, free: 8.781 MB / 1.186 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches