Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001702/0.001702, allocations: 106 kB / 18.84 MB, free: 3.023 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.001981/0.001981, allocations: 191.5 kB / 22.1 MB, free: 4.223 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.445/1.445, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.885/2.885, allocations: 495.8 MB / 0.783 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9245/0.9265, allocations: 173.6 MB / 1.307 GB, free: 33.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01903/0.9455, allocations: 21.07 MB / 1.327 GB, free: 19.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.9557, allocations: 6.647 MB / 1.334 GB, free: 15.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.9577, allocations: 111 kB / 1.334 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005508/0.9632, allocations: 2.345 MB / 1.336 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.9667, allocations: 1.236 MB / 1.337 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.9703, allocations: 1.316 MB / 1.339 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007327/0.9777, allocations: 4.85 MB / 1.343 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004581/0.9823, allocations: 2.95 MB / 1.346 GB, free: 8.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.9865, allocations: 2.147 MB / 1.348 GB, free: 7.863 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004826/0.9913, allocations: 2.477 MB / 1.351 GB, free: 6.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.9924, allocations: 429.9 kB / 1.351 GB, free: 6.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.9951, allocations: 0.9499 MB / 1.352 GB, free: 6.637 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.9975, allocations: 1.71 MB / 1.354 GB, free: 5.902 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003132/1.001, allocations: 1.914 MB / 1.356 GB, free: 4.672 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009813/1.01, allocations: 6.528 MB / 1.362 GB, free: 2.605 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.01, allocations: 0.75 kB / 1.362 GB, free: 2.605 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/1.01, allocations: 0 / 1.362 GB, free: 2.605 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002243/1.011, allocations: 0 / 1.362 GB, free: 2.605 MB / 1.061 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.01132/1.022, allocations: 3.466 MB / 1.365 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.022, allocations: 9.656 kB / 1.366 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/1.026, allocations: 0.6538 MB / 1.366 GB, free: 444 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006271/1.033, allocations: 1.998 MB / 1.368 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/1.033, allocations: 225.2 kB / 1.368 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/1.034, allocations: 295 kB / 1.369 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/1.051, allocations: 4.883 MB / 1.373 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/1.052, allocations: 17.03 kB / 1.373 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007476/1.052, allocations: 131.9 kB / 1.373 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007002/1.053, allocations: 225.8 kB / 1.374 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/1.064, allocations: 3.752 MB / 1.377 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03588/1.1, allocations: 21.16 MB / 1.398 GB, free: 10.12 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/1.102, allocations: 1.232 MB / 1.399 GB, free: 9.652 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.104, allocations: 0.9858 MB / 1.4 GB, free: 9.293 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/1.104, allocations: 14.78 kB / 1.4 GB, free: 9.289 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/1.104, allocations: 45.55 kB / 1.4 GB, free: 9.242 MB / 1.092 GB Notification: Performance of pre-optimization done (n=107): time 4.329e-06/1.104, allocations: 1.125 kB / 1.4 GB, free: 9.242 MB / 1.092 GB Notification: Performance of matching and sorting (n=138): time 0.02823/1.132, allocations: 8.427 MB / 1.408 GB, free: 5.535 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/1.132, allocations: 74.12 kB / 1.409 GB, free: 5.465 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.135, allocations: 1.137 MB / 1.41 GB, free: 4.836 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/1.135, allocations: 47.39 kB / 1.41 GB, free: 4.789 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/1.136, allocations: 1.331 MB / 1.411 GB, free: 3.617 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/1.137, allocations: 0.4973 MB / 1.412 GB, free: 3.176 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006739/1.137, allocations: 295.7 kB / 1.412 GB, free: 3.008 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.138, allocations: 301.1 kB / 1.412 GB, free: 2.711 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/1.139, allocations: 0.9101 MB / 1.413 GB, free: 2.234 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.141, allocations: 1.329 MB / 1.414 GB, free: 1.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004215/1.145, allocations: 2.431 MB / 1.417 GB, free: 15.62 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-05/1.145, allocations: 3.125 kB / 1.417 GB, free: 15.62 MB / 1.107 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007541/1.153, allocations: 3.428 MB / 1.42 GB, free: 13.76 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.153, allocations: 12.31 kB / 1.42 GB, free: 13.76 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/1.153, allocations: 20.53 kB / 1.42 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003809/1.157, allocations: 1.187 MB / 1.421 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.158, allocations: 262 kB / 1.421 GB, free: 13.13 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/1.179, allocations: 13.53 MB / 1.435 GB, free: 3.082 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.181, allocations: 91.91 kB / 1.435 GB, free: 2.992 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/1.181, allocations: 71.98 kB / 1.435 GB, free: 2.922 MB / 1.107 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.002826/1.184, allocations: 1.114 MB / 1.436 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.185, allocations: 171.3 kB / 1.436 GB, free: 1.629 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/1.191, allocations: 3.134 MB / 1.439 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/1.191, allocations: 16 kB / 1.439 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.183e-05/1.191, allocations: 8 kB / 1.439 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.191, allocations: 15.97 kB / 1.439 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.205, allocations: 6.178 MB / 1.445 GB, free: 8.125 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.205, allocations: 7.938 kB / 1.445 GB, free: 8.117 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/1.206, allocations: 143.8 kB / 1.445 GB, free: 7.977 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/1.209, allocations: 1.075 MB / 1.446 GB, free: 6.895 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/1.209, allocations: 28 kB / 1.446 GB, free: 6.867 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/1.228, allocations: 13.24 MB / 1.459 GB, free: 9.285 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.228, allocations: 8.062 kB / 1.459 GB, free: 9.277 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/1.235, allocations: 3.128 MB / 1.462 GB, free: 6.066 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.236, allocations: 358.8 kB / 1.463 GB, free: 5.715 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005352/1.237, allocations: 28 kB / 1.463 GB, free: 5.688 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.238, allocations: 83.89 kB / 1.463 GB, free: 5.605 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/1.238, allocations: 132.6 kB / 1.463 GB, free: 5.477 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.238, allocations: 36 kB / 1.463 GB, free: 5.441 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001426/1.24, allocations: 0.7748 MB / 1.464 GB, free: 4.664 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.24, allocations: 3.938 kB / 1.464 GB, free: 4.66 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002835/1.243, allocations: 0.6562 MB / 1.464 GB, free: 4.004 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 (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.000324/1.243, allocations: 139.1 kB / 1.465 GB, free: 3.855 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005636/1.249, allocations: 3.002 MB / 1.467 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.249, allocations: 4.125 kB / 1.467 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003325/1.252, allocations: 1.9 MB / 1.469 GB, free: 14.87 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.255, allocations: 0.4952 MB / 1.47 GB, free: 14.39 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/1.268, allocations: 5.522 MB / 1.475 GB, free: 8.781 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004688/1.272, allocations: 2.336 MB / 1.477 GB, free: 6.414 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001376/1.274, allocations: 354.1 kB / 1.478 GB, free: 6.062 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/1.274, allocations: 91.44 kB / 1.478 GB, free: 5.973 MB / 1.154 GB Notification: Performance of SimCode: time 1.493e-06/1.274, allocations: 0 / 1.478 GB, free: 5.973 MB / 1.154 GB Notification: Performance of Templates: time 0.08356/1.358, allocations: 34.8 MB / 1.512 GB, free: 3.605 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.222688281908631]