Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001583/0.001583, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001778/0.001778, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.893/2.893, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0.7656 kB / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.848e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01462/0.01465, allocations: 9.492 MB / 0.8201 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00652/0.02117, allocations: 3.016 MB / 0.823 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000867/0.02204, allocations: 47.69 kB / 0.8231 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.02434, allocations: 0.6952 MB / 0.8238 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.02646, allocations: 0.7385 MB / 0.8245 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.0282, allocations: 0.6558 MB / 0.8251 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004392/0.03259, allocations: 2.78 MB / 0.8278 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/0.03543, allocations: 1.371 MB / 0.8292 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.03896, allocations: 1.58 MB / 0.8307 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.04184, allocations: 1.37 MB / 0.8321 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007899/0.04263, allocations: 216 kB / 0.8323 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.04419, allocations: 471.2 kB / 0.8327 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.04601, allocations: 1.048 MB / 0.8337 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.04801, allocations: 0.7095 MB / 0.8344 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005625/0.05363, allocations: 3.491 MB / 0.8378 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.05364, allocations: 3.938 kB / 0.8378 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/0.05364, allocations: 0 / 0.8378 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001243/0.05376, allocations: 4.531 kB / 0.8378 GB, free: 5.203 MB / 0.7448 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.005704/0.05947, allocations: 1.891 MB / 0.8397 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.05952, allocations: 12.03 kB / 0.8397 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/0.06636, allocations: 1.202 MB / 0.8409 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.06921, allocations: 1.162 MB / 0.842 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.06936, allocations: 116.7 kB / 0.8421 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005493/0.06991, allocations: 148.2 kB / 0.8423 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00672/0.07663, allocations: 3.1 MB / 0.8453 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-05/0.07668, allocations: 4.906 kB / 0.8453 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003626/0.07704, allocations: 64.34 kB / 0.8454 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002959/0.07734, allocations: 179.5 kB / 0.8455 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005278/0.08262, allocations: 2.603 MB / 0.8481 GB, free: 10.55 MB / 0.7605 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.01795/0.1006, allocations: 9.077 MB / 0.8569 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.1031, allocations: 1.221 MB / 0.8581 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.1049, allocations: 0.9876 MB / 0.8591 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.64e-05/0.105, allocations: 12.66 kB / 0.8591 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.105, allocations: 39.22 kB / 0.8591 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=82): time 3.126e-06/0.105, allocations: 0 / 0.8591 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=139): time 0.07867/0.1837, allocations: 18.91 MB / 0.8776 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.1838, allocations: 68.72 kB / 0.8777 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.1854, allocations: 0.9102 MB / 0.8786 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.1855, allocations: 45.7 kB / 0.8786 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007087/0.1862, allocations: 0.7423 MB / 0.8793 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/0.1868, allocations: 0.4958 MB / 0.8798 GB, free: 9.73 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/0.1875, allocations: 291.5 kB / 0.8801 GB, free: 9.438 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.1878, allocations: 357.9 kB / 0.8804 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.19, allocations: 1.335 MB / 0.8817 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.1926, allocations: 1.655 MB / 0.8833 GB, free: 5.977 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.1977, allocations: 3.089 MB / 0.8864 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.1977, allocations: 4 kB / 0.8864 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01358/0.2113, allocations: 5.625 MB / 0.8919 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.2113, allocations: 8 kB / 0.8919 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.2113, allocations: 12 kB / 0.8919 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.2219, allocations: 2.827 MB / 0.8946 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/0.2229, allocations: 195.6 kB / 0.8948 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0444/0.2673, allocations: 24.92 MB / 0.9192 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.2689, allocations: 95.94 kB / 0.9193 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.2692, allocations: 56 kB / 0.9193 GB, free: 0.5898 MB / 0.823 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.001639/0.2708, allocations: 0.7432 MB / 0.92 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/0.2713, allocations: 155.3 kB / 0.9202 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.2846, allocations: 5.314 MB / 0.9254 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.2846, allocations: 16 kB / 0.9254 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.323e-05/0.2846, allocations: 20 kB / 0.9254 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.2847, allocations: 7.922 kB / 0.9254 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/0.3036, allocations: 7.971 MB / 0.9332 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.3036, allocations: 7.984 kB / 0.9332 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.3041, allocations: 119.8 kB / 0.9333 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01032/0.3145, allocations: 2.687 MB / 0.9359 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.3147, allocations: 32 kB / 0.936 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04043/0.3551, allocations: 23.4 MB / 0.9588 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.3551, allocations: 7.938 kB / 0.9588 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/0.3678, allocations: 5.202 MB / 0.9639 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.3691, allocations: 431 kB / 0.9643 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.3694, allocations: 31.98 kB / 0.9644 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.3705, allocations: 75.91 kB / 0.9644 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007813/0.3713, allocations: 136.9 kB / 0.9646 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.3714, allocations: 32 kB / 0.9646 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001301/0.3727, allocations: 0.6239 MB / 0.9652 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.3727, allocations: 0 / 0.9652 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00337/0.3761, allocations: 0.7227 MB / 0.9659 GB, free: 236 kB / 0.8698 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.0003726/0.3765, allocations: 143 kB / 0.966 GB, free: 84 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008722/0.3852, allocations: 4.08 MB / 0.97 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.3852, allocations: 0 / 0.97 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006139/0.3914, allocations: 2.614 MB / 0.9726 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.3929, allocations: 219.8 kB / 0.9728 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/0.401, allocations: 4.11 MB / 0.9768 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.403, allocations: 1.109 MB / 0.9779 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009155/0.4039, allocations: 325.2 kB / 0.9782 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.4042, allocations: 56.48 kB / 0.9782 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/0.4042, allocations: 0 / 0.9782 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of Templates: time 0.07245/0.4766, allocations: 42 MB / 1.019 GB, free: 9.637 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.288199808914214]