Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001931/0.001931, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002356/0.002356, allocations: 220.4 kB / 23 MB, free: 4.914 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476 MB / 0.7707 GB, free: 4.879 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 69.94 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3982, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04744/0.4456, allocations: 33.68 MB / 1.317 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.4658, allocations: 10.03 MB / 1.326 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004346/0.4702, allocations: 190.6 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.4819, allocations: 3.815 MB / 1.33 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007448/0.4893, allocations: 2.149 MB / 1.332 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006476/0.4958, allocations: 1.975 MB / 1.334 GB, free: 8.008 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01283/0.5086, allocations: 7.972 MB / 1.342 GB, free: 12 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009915/0.5186, allocations: 5.229 MB / 1.347 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006984/0.5255, allocations: 3.482 MB / 1.351 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007657/0.5332, allocations: 3.695 MB / 1.354 GB, free: 3.461 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002397/0.5356, allocations: 0.6797 MB / 1.355 GB, free: 2.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.5401, allocations: 1.362 MB / 1.356 GB, free: 1.418 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004782/0.5449, allocations: 2.685 MB / 1.359 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006037/0.5509, allocations: 2.518 MB / 1.361 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.5661, allocations: 10.46 MB / 1.372 GB, free: 1.703 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.5661, allocations: 0 / 1.372 GB, free: 1.703 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5661, allocations: 0 / 1.372 GB, free: 1.703 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003968/0.5665, allocations: 0 / 1.372 GB, free: 1.703 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01647/0.5829, allocations: 5.459 MB / 1.377 GB, free: 12.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.583, allocations: 15.97 kB / 1.377 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005678/0.5887, allocations: 0.9889 MB / 1.378 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008076/0.5967, allocations: 3.128 MB / 1.381 GB, free: 7.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/0.5972, allocations: 361.9 kB / 1.381 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/0.599, allocations: 468.3 kB / 1.382 GB, free: 7.168 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.6176, allocations: 8.667 MB / 1.39 GB, free: 13.95 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.6177, allocations: 19.83 kB / 1.39 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007821/0.6185, allocations: 216 kB / 1.39 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005639/0.619, allocations: 365.1 kB / 1.391 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.6322, allocations: 5.933 MB / 1.397 GB, free: 7.414 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0392/0.6714, allocations: 22.94 MB / 1.419 GB, free: 15.81 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.6751, allocations: 1.987 MB / 1.421 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.6773, allocations: 1.329 MB / 1.422 GB, free: 12.47 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.42e-05/0.6774, allocations: 17.31 kB / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.6774, allocations: 59.62 kB / 1.422 GB, free: 12.39 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.917e-06/0.6774, allocations: 0 / 1.422 GB, free: 12.39 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01507/0.6925, allocations: 6.659 MB / 1.429 GB, free: 5.688 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.6926, allocations: 72.72 kB / 1.429 GB, free: 5.605 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.6953, allocations: 1.709 MB / 1.431 GB, free: 3.859 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000238/0.6955, allocations: 57.7 kB / 1.431 GB, free: 3.797 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.6973, allocations: 2.187 MB / 1.433 GB, free: 1.59 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007378/0.6981, allocations: 0.5926 MB / 1.433 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006653/0.6987, allocations: 404 kB / 1.434 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6989, allocations: 301.1 kB / 1.434 GB, free: 300 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.7006, allocations: 1.059 MB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.703, allocations: 1.764 MB / 1.437 GB, free: 13.14 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/0.7071, allocations: 3.045 MB / 1.44 GB, free: 9.789 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.7072, allocations: 8 kB / 1.44 GB, free: 9.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006892/0.7141, allocations: 3.89 MB / 1.444 GB, free: 5.844 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.7141, allocations: 16 kB / 1.444 GB, free: 5.828 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/0.7141, allocations: 24 kB / 1.444 GB, free: 5.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/0.7166, allocations: 0.9318 MB / 1.444 GB, free: 4.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.7183, allocations: 431.2 kB / 1.445 GB, free: 4.418 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/0.7417, allocations: 21.1 MB / 1.466 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.744, allocations: 127.9 kB / 1.466 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.7442, allocations: 96 kB / 1.466 GB, free: 13.86 MB / 1.17 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003202/0.7474, allocations: 1.649 MB / 1.467 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/0.748, allocations: 242.5 kB / 1.468 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005793/0.7538, allocations: 3.233 MB / 1.471 GB, free: 8.68 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.7538, allocations: 20 kB / 1.471 GB, free: 8.66 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/0.7538, allocations: 12 kB / 1.471 GB, free: 8.648 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.7538, allocations: 7.969 kB / 1.471 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.7669, allocations: 6.441 MB / 1.477 GB, free: 2.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.7669, allocations: 8.062 kB / 1.477 GB, free: 2.062 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009177/0.7678, allocations: 219.6 kB / 1.477 GB, free: 1.848 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002367/0.7702, allocations: 0.8843 MB / 1.478 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.7703, allocations: 43.86 kB / 1.478 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02316/0.7934, allocations: 21.08 MB / 1.499 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.7935, allocations: 7.938 kB / 1.499 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006144/0.7996, allocations: 3.348 MB / 1.502 GB, free: 7.098 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/0.8011, allocations: 454.3 kB / 1.502 GB, free: 6.652 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.8014, allocations: 39.94 kB / 1.502 GB, free: 6.613 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.8024, allocations: 95.89 kB / 1.503 GB, free: 6.52 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/0.8028, allocations: 144.9 kB / 1.503 GB, free: 6.375 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.8029, allocations: 48 kB / 1.503 GB, free: 6.328 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001691/0.8046, allocations: 1.09 MB / 1.504 GB, free: 5.219 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.8046, allocations: 0 / 1.504 GB, free: 5.219 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003166/0.8078, allocations: 0.9023 MB / 1.505 GB, free: 4.316 MB / 1.201 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003064/0.8081, allocations: 151 kB / 1.505 GB, free: 4.16 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007309/0.8154, allocations: 4.28 MB / 1.509 GB, free: 15.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/0.8154, allocations: 3.906 kB / 1.509 GB, free: 15.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004638/0.82, allocations: 2.913 MB / 1.512 GB, free: 12.66 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/0.8235, allocations: 0.7524 MB / 1.513 GB, free: 11.91 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.8394, allocations: 8.446 MB / 1.521 GB, free: 3.371 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004112/0.8436, allocations: 2.731 MB / 1.524 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007765/0.8443, allocations: 151.4 kB / 1.524 GB, free: 472 kB / 1.217 GB Notification: Performance of SimCode: time 1.313e-06/0.8443, allocations: 0 / 1.524 GB, free: 472 kB / 1.217 GB Notification: Performance of Templates: time 1.029/1.873, allocations: 340.6 MB / 1.856 GB, free: 59.61 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 25.499147186987102]