Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001382/0.001382, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001472/0.001472, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.739/2.739, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.118e-06/4.118e-06, allocations: 3.984 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.384e-05, allocations: 7.969 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01378/0.01381, allocations: 9.482 MB / 0.9603 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005955/0.01976, allocations: 2.994 MB / 0.9632 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006953/0.02046, allocations: 43.69 kB / 0.9632 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.02265, allocations: 0.6957 MB / 0.9639 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.02448, allocations: 0.7421 MB / 0.9646 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.02603, allocations: 0.6458 MB / 0.9653 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.02943, allocations: 2.78 MB / 0.968 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/0.03163, allocations: 1.371 MB / 0.9693 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.03429, allocations: 1.583 MB / 0.9709 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.03662, allocations: 1.36 MB / 0.9722 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005255/0.03715, allocations: 220 kB / 0.9724 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.03838, allocations: 475.2 kB / 0.9728 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001423/0.0398, allocations: 1.048 MB / 0.9739 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.04119, allocations: 0.7212 MB / 0.9746 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004327/0.04551, allocations: 3.491 MB / 0.978 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.04552, allocations: 3.984 kB / 0.978 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.04552, allocations: 0 / 0.978 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.102e-05/0.04559, allocations: 4 kB / 0.978 GB, free: 15.81 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004308/0.0499, allocations: 1.886 MB / 0.9798 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.04994, allocations: 12.03 kB / 0.9798 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006245/0.05619, allocations: 0.9166 MB / 0.9807 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.05874, allocations: 1.124 MB / 0.9818 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.05885, allocations: 115.3 kB / 0.9819 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.05925, allocations: 148.2 kB / 0.9821 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005315/0.06456, allocations: 3.085 MB / 0.9851 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/0.06461, allocations: 12.06 kB / 0.9851 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.06482, allocations: 64.34 kB / 0.9852 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000246/0.06507, allocations: 178.9 kB / 0.9853 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.06944, allocations: 2.608 MB / 0.9879 GB, free: 5.48 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.08416, allocations: 9.03 MB / 0.9967 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.08623, allocations: 1.225 MB / 0.9979 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.08772, allocations: 0.9798 MB / 0.9989 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.08779, allocations: 12.66 kB / 0.9989 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.08783, allocations: 47.2 kB / 0.9989 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/0.08783, allocations: 0 / 0.9989 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of matching and sorting (n=139): time 0.08172/0.1696, allocations: 18.88 MB / 1.017 GB, free: 7.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1696, allocations: 64.72 kB / 1.017 GB, free: 6.957 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.171, allocations: 0.9064 MB / 1.018 GB, free: 6.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.1711, allocations: 45.7 kB / 1.018 GB, free: 5.992 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000584/0.1717, allocations: 0.7501 MB / 1.019 GB, free: 5.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/0.1722, allocations: 0.4957 MB / 1.02 GB, free: 4.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006476/0.1729, allocations: 299.5 kB / 1.02 GB, free: 4.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1731, allocations: 353.9 kB / 1.02 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.1752, allocations: 1.339 MB / 1.021 GB, free: 2.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.1775, allocations: 1.655 MB / 1.023 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004578/0.1821, allocations: 3.088 MB / 1.026 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.1821, allocations: 0 / 1.026 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01286/0.195, allocations: 5.559 MB / 1.032 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.195, allocations: 10.34 kB / 1.032 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.195, allocations: 8 kB / 1.032 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009808/0.2048, allocations: 2.718 MB / 1.034 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/0.2057, allocations: 191.6 kB / 1.034 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03999/0.2457, allocations: 24.83 MB / 1.059 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.2473, allocations: 95.95 kB / 1.059 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.2475, allocations: 55.98 kB / 1.059 GB, free: 11.86 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001413/0.2489, allocations: 0.7393 MB / 1.06 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.2493, allocations: 119.3 kB / 1.06 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.2617, allocations: 5.302 MB / 1.065 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.2618, allocations: 19.94 kB / 1.065 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.71e-05/0.2618, allocations: 16 kB / 1.065 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/0.2618, allocations: 19.91 kB / 1.065 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.2799, allocations: 7.967 MB / 1.073 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.2799, allocations: 4 kB / 1.073 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.2804, allocations: 119.8 kB / 1.073 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009504/0.2899, allocations: 2.591 MB / 1.075 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/0.2901, allocations: 27.94 kB / 1.075 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0382/0.3283, allocations: 23.31 MB / 1.098 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.3283, allocations: 4 kB / 1.098 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4928/0.8212, allocations: 5.155 MB / 1.103 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.8225, allocations: 427.8 kB / 1.104 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.8227, allocations: 27.97 kB / 1.104 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.8237, allocations: 77.16 kB / 1.104 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006688/0.8244, allocations: 131.1 kB / 1.104 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.8245, allocations: 41.22 kB / 1.104 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009854/0.8255, allocations: 0.6227 MB / 1.104 GB, free: 146 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8255, allocations: 0 / 1.104 GB, free: 146 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00292/0.8284, allocations: 0.7196 MB / 1.105 GB, free: 146 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002619/0.8287, allocations: 136.8 kB / 1.105 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007649/0.8363, allocations: 4.07 MB / 1.109 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.8364, allocations: 5 kB / 1.109 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005505/0.8419, allocations: 2.603 MB / 1.112 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.8437, allocations: 225.5 kB / 1.112 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/0.8512, allocations: 4.045 MB / 1.116 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.853, allocations: 1.112 MB / 1.117 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00096/0.854, allocations: 321.6 kB / 1.117 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.8542, allocations: 55.39 kB / 1.117 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.373e-06/0.8542, allocations: 3.5 kB / 1.117 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.05884/0.9131, allocations: 41.82 MB / 1.158 GB, free: 128 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.391713876277208]