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.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.001392/0.001392, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.001561/0.001561, allocations: 205 kB / 20.09 MB, free: 2.977 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.942/2.942, allocations: 0.49 GB / 0.7923 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.002118/0.002118, allocations: 67.89 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0216/1.069, allocations: 20.59 MB / 1.342 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01208/1.081, allocations: 6.565 MB / 1.348 GB, free: 6.695 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003093/1.084, allocations: 110.7 kB / 1.349 GB, free: 6.645 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005867/1.09, allocations: 2.287 MB / 1.351 GB, free: 5.281 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/1.095, allocations: 1.24 MB / 1.352 GB, free: 4.512 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/1.099, allocations: 1.279 MB / 1.353 GB, free: 3.797 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008027/1.107, allocations: 4.846 MB / 1.358 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007561/1.114, allocations: 4.239 MB / 1.362 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005246/1.12, allocations: 2.148 MB / 1.364 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00626/1.126, allocations: 2.479 MB / 1.367 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001964/1.128, allocations: 429.4 kB / 1.367 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004143/1.132, allocations: 1.021 MB / 1.368 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004586/1.137, allocations: 1.707 MB / 1.37 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.007587/1.144, allocations: 1.915 MB / 1.372 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0163/1.161, allocations: 6.531 MB / 1.378 GB, free: 9.664 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/1.161, allocations: 0 / 1.378 GB, free: 9.664 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.355e-06/1.161, allocations: 0 / 1.378 GB, free: 9.664 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003164/1.161, allocations: 1.625 kB / 1.378 GB, free: 9.664 MB / 1.076 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.01564/1.177, allocations: 3.543 MB / 1.381 GB, free: 7.598 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.177, allocations: 13.81 kB / 1.381 GB, free: 7.594 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/1.182, allocations: 0.6505 MB / 1.382 GB, free: 7.395 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007439/1.189, allocations: 2.054 MB / 1.384 GB, free: 6.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/1.19, allocations: 218.2 kB / 1.384 GB, free: 6.223 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/1.192, allocations: 300.8 kB / 1.385 GB, free: 6.117 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/1.209, allocations: 4.886 MB / 1.389 GB, free: 4.043 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/1.209, allocations: 13.94 kB / 1.389 GB, free: 4.035 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005342/1.209, allocations: 130.9 kB / 1.39 GB, free: 3.938 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006262/1.21, allocations: 234.2 kB / 1.39 GB, free: 3.906 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/1.222, allocations: 3.748 MB / 1.393 GB, free: 2.613 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/1.256, allocations: 21.44 MB / 1.414 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/1.258, allocations: 1.24 MB / 1.416 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/1.26, allocations: 0.9925 MB / 1.417 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.641e-05/1.26, allocations: 14.12 kB / 1.417 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/1.26, allocations: 49.66 kB / 1.417 GB, free: 14.32 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.807e-06/1.26, allocations: 0 / 1.417 GB, free: 14.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02651/1.286, allocations: 8.658 MB / 1.425 GB, free: 9.719 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.286, allocations: 65.34 kB / 1.425 GB, free: 9.656 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/1.288, allocations: 1.126 MB / 1.426 GB, free: 9.039 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/1.288, allocations: 50.7 kB / 1.426 GB, free: 8.988 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.29, allocations: 1.339 MB / 1.428 GB, free: 7.809 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005581/1.29, allocations: 0.4901 MB / 1.428 GB, free: 7.375 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005363/1.291, allocations: 294.7 kB / 1.428 GB, free: 7.207 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.291, allocations: 310.4 kB / 1.429 GB, free: 6.902 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/1.292, allocations: 0.9137 MB / 1.429 GB, free: 6.422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/1.294, allocations: 1.325 MB / 1.431 GB, free: 5.418 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003553/1.297, allocations: 2.423 MB / 1.433 GB, free: 3.82 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.297, allocations: 3.375 kB / 1.433 GB, free: 3.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007235/1.305, allocations: 3.438 MB / 1.437 GB, free: 1.633 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/1.305, allocations: 8 kB / 1.437 GB, free: 1.625 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/1.305, allocations: 12 kB / 1.437 GB, free: 1.613 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/1.308, allocations: 1.192 MB / 1.438 GB, free: 428 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.309, allocations: 255.6 kB / 1.438 GB, free: 172 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/1.33, allocations: 13.85 MB / 1.451 GB, free: 1.898 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.331, allocations: 91.97 kB / 1.452 GB, free: 1.809 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/1.332, allocations: 64 kB / 1.452 GB, free: 1.746 MB / 1.123 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.002594/1.334, allocations: 1.11 MB / 1.453 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/1.335, allocations: 171 kB / 1.453 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006383/1.341, allocations: 3.13 MB / 1.456 GB, free: 13.31 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.341, allocations: 16 kB / 1.456 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/1.341, allocations: 12 kB / 1.456 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.341, allocations: 7.922 kB / 1.456 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/1.354, allocations: 6.217 MB / 1.462 GB, free: 6.918 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.354, allocations: 4 kB / 1.462 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/1.354, allocations: 147.8 kB / 1.462 GB, free: 6.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/1.358, allocations: 1.067 MB / 1.463 GB, free: 5.695 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/1.358, allocations: 32 kB / 1.463 GB, free: 5.664 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/1.377, allocations: 13.55 MB / 1.476 GB, free: 7.688 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/1.377, allocations: 8 kB / 1.476 GB, free: 7.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/1.383, allocations: 3.116 MB / 1.48 GB, free: 4.477 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.385, allocations: 431.9 kB / 1.48 GB, free: 4.035 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/1.385, allocations: 27.94 kB / 1.48 GB, free: 4.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000864/1.386, allocations: 83.89 kB / 1.48 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/1.386, allocations: 128.7 kB / 1.48 GB, free: 3.801 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.27e-05/1.386, allocations: 40 kB / 1.48 GB, free: 3.762 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001196/1.387, allocations: 0.7671 MB / 1.481 GB, free: 2.992 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.387, allocations: 3.938 kB / 1.481 GB, free: 2.988 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002838/1.39, allocations: 0.6562 MB / 1.482 GB, free: 2.332 MB / 1.154 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.0003112/1.391, allocations: 147 kB / 1.482 GB, free: 2.18 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005582/1.396, allocations: 3.002 MB / 1.485 GB, free: 15.14 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.396, allocations: 4 kB / 1.485 GB, free: 15.14 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003444/1.4, allocations: 1.885 MB / 1.487 GB, free: 13.21 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/1.402, allocations: 0.5018 MB / 1.487 GB, free: 12.73 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.415, allocations: 5.885 MB / 1.493 GB, free: 6.75 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/1.418, allocations: 2.387 MB / 1.495 GB, free: 4.332 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/1.418, allocations: 99.42 kB / 1.495 GB, free: 4.234 MB / 1.17 GB Notification: Performance of SimCode: time 1.513e-06/1.418, allocations: 0 / 1.495 GB, free: 4.234 MB / 1.17 GB Notification: Performance of Templates: time 0.108/1.526, allocations: 79.74 MB / 1.573 GB, free: 4.574 MB / 1.248 GB " [Timeout remaining time 298] 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/jenkins1/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: 18.44379754200054]