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.001521/0.001521, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001835/0.001835, allocations: 192.4 kB / 22.17 MB, free: 5.652 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.434/1.434, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.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.784/2.784, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 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.003113/0.003113, allocations: 63.91 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7784/0.7815, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02733/0.8088, allocations: 21.22 MB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.8245, allocations: 6.675 MB / 1.301 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.8267, allocations: 87.56 kB / 1.301 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006615/0.8333, allocations: 2.331 MB / 1.304 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.8372, allocations: 1.24 MB / 1.305 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.8412, allocations: 1.316 MB / 1.306 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007654/0.8488, allocations: 4.846 MB / 1.311 GB, free: 14.72 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006662/0.8555, allocations: 2.955 MB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004093/0.8596, allocations: 2.119 MB / 1.316 GB, free: 9.578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.8645, allocations: 2.481 MB / 1.318 GB, free: 7.078 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.8659, allocations: 432 kB / 1.319 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.869, allocations: 1.018 MB / 1.32 GB, free: 5.637 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002994/0.872, allocations: 1.703 MB / 1.321 GB, free: 3.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004346/0.8763, allocations: 1.914 MB / 1.323 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.8865, allocations: 6.536 MB / 1.33 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8865, allocations: 0 / 1.33 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8865, allocations: 3.938 kB / 1.33 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002482/0.8868, allocations: 8 kB / 1.33 GB, free: 11.44 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.00975/0.8965, allocations: 3.541 MB / 1.333 GB, free: 7.832 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.8966, allocations: 8.031 kB / 1.333 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/0.9002, allocations: 0.6584 MB / 1.334 GB, free: 7.164 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.9049, allocations: 2.054 MB / 1.336 GB, free: 5.051 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.9051, allocations: 222.3 kB / 1.336 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006308/0.9058, allocations: 292.3 kB / 1.336 GB, free: 4.547 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009436/0.9152, allocations: 4.894 MB / 1.341 GB, free: 15.46 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.591e-05/0.9153, allocations: 15.89 kB / 1.341 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/0.9156, allocations: 132 kB / 1.341 GB, free: 15.31 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004714/0.9161, allocations: 229.7 kB / 1.341 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007187/0.9233, allocations: 3.754 MB / 1.345 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0264/0.9497, allocations: 21.43 MB / 1.366 GB, free: 3.898 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.9516, allocations: 1.232 MB / 1.367 GB, free: 2.656 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.9532, allocations: 0.9947 MB / 1.368 GB, free: 1.664 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.078e-05/0.9532, allocations: 9 kB / 1.368 GB, free: 1.656 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.9533, allocations: 51.5 kB / 1.368 GB, free: 1.594 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 2.785e-06/0.9533, allocations: 0 / 1.368 GB, free: 1.594 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.02643/0.9797, allocations: 8.661 MB / 1.377 GB, free: 8.879 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.9798, allocations: 64.72 kB / 1.377 GB, free: 8.805 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.9815, allocations: 1.13 MB / 1.378 GB, free: 7.668 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.9817, allocations: 49.7 kB / 1.378 GB, free: 7.613 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.9828, allocations: 1.335 MB / 1.379 GB, free: 6.266 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005048/0.9833, allocations: 0.4958 MB / 1.38 GB, free: 5.766 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/0.9838, allocations: 291.5 kB / 1.38 GB, free: 5.473 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9839, allocations: 305.1 kB / 1.38 GB, free: 5.172 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.9854, allocations: 0.9135 MB / 1.381 GB, free: 4.258 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.9872, allocations: 1.322 MB / 1.382 GB, free: 2.766 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/0.9905, allocations: 2.426 MB / 1.385 GB, free: 172 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.9905, allocations: 4 kB / 1.385 GB, free: 168 kB / 1.076 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006561/0.9971, allocations: 3.433 MB / 1.388 GB, free: 12.71 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.9971, allocations: 13 kB / 1.388 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.9972, allocations: 12 kB / 1.388 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/1, allocations: 1.172 MB / 1.389 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/1.001, allocations: 267.5 kB / 1.39 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/1.021, allocations: 13.86 MB / 1.403 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.022, allocations: 87.97 kB / 1.403 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.022, allocations: 71.94 kB / 1.403 GB, free: 12.81 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.001903/1.024, allocations: 1.114 MB / 1.404 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/1.024, allocations: 174.9 kB / 1.404 GB, free: 11.51 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006116/1.03, allocations: 3.126 MB / 1.408 GB, free: 8.367 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.03, allocations: 16 kB / 1.408 GB, free: 8.352 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.03, allocations: 12 kB / 1.408 GB, free: 8.34 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.03, allocations: 15.91 kB / 1.408 GB, free: 8.324 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/1.042, allocations: 6.198 MB / 1.414 GB, free: 1.992 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.042, allocations: 7.938 kB / 1.414 GB, free: 1.984 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/1.042, allocations: 148.3 kB / 1.414 GB, free: 1.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.045, allocations: 1.074 MB / 1.415 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/1.045, allocations: 28 kB / 1.415 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/1.064, allocations: 13.54 MB / 1.428 GB, free: 2.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.064, allocations: 11.94 kB / 1.428 GB, free: 2.758 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/1.07, allocations: 3.12 MB / 1.431 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.071, allocations: 431.9 kB / 1.432 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/1.071, allocations: 35.92 kB / 1.432 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/1.072, allocations: 79.91 kB / 1.432 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/1.072, allocations: 128.7 kB / 1.432 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/1.072, allocations: 36 kB / 1.432 GB, free: 14.84 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001069/1.073, allocations: 0.7671 MB / 1.433 GB, free: 14.07 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.073, allocations: 0 / 1.433 GB, free: 14.07 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001825/1.075, allocations: 0.6679 MB / 1.433 GB, free: 13.4 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.0002418/1.075, allocations: 139.6 kB / 1.433 GB, free: 13.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004973/1.08, allocations: 3.005 MB / 1.436 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.08, allocations: 0 / 1.436 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00308/1.083, allocations: 1.881 MB / 1.438 GB, free: 8.293 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/1.086, allocations: 0.4982 MB / 1.439 GB, free: 7.805 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009983/1.095, allocations: 5.538 MB / 1.444 GB, free: 2.18 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002661/1.098, allocations: 2.34 MB / 1.446 GB, free: 15.81 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001157/1.099, allocations: 354 kB / 1.447 GB, free: 15.46 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/1.1, allocations: 87.44 kB / 1.447 GB, free: 15.37 MB / 1.154 GB Notification: Performance of SimCode: time 8.51e-07/1.1, allocations: 0 / 1.447 GB, free: 15.37 MB / 1.154 GB Notification: Performance of Templates: time 0.0581/1.158, allocations: 34.21 MB / 1.48 GB, free: 13.59 MB / 1.186 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.615448942873627]