Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001478/0.001478, 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.001625/0.001625, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.818/2.818, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.8e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01381/0.01384, allocations: 9.491 MB / 0.8201 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007022/0.02086, allocations: 3.132 MB / 0.8232 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007298/0.02159, allocations: 51.62 kB / 0.8232 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.02346, allocations: 0.6073 MB / 0.8238 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.02539, allocations: 0.7951 MB / 0.8246 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.02721, allocations: 0.7503 MB / 0.8253 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004014/0.03122, allocations: 3.045 MB / 0.8283 GB, free: 184 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.03358, allocations: 1.419 MB / 0.8297 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/0.03643, allocations: 1.731 MB / 0.8314 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.039, allocations: 1.558 MB / 0.8329 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000395/0.0394, allocations: 236 kB / 0.8331 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.04044, allocations: 488.5 kB / 0.8336 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.04179, allocations: 1.15 MB / 0.8347 GB, free: 9.566 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.04293, allocations: 0.7913 MB / 0.8355 GB, free: 8.773 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004686/0.04762, allocations: 3.795 MB / 0.8392 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.04762, allocations: 0 / 0.8392 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.753e-06/0.04763, allocations: 0 / 0.8392 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.914e-05/0.04769, allocations: 0.6562 kB / 0.8392 GB, free: 4.969 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004673/0.05237, allocations: 2.094 MB / 0.8412 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.05242, allocations: 12.03 kB / 0.8412 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009286/0.06171, allocations: 1.733 MB / 0.8429 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.06458, allocations: 1.305 MB / 0.8442 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.0647, allocations: 115.4 kB / 0.8443 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004831/0.06519, allocations: 148.3 kB / 0.8444 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006718/0.07191, allocations: 3.516 MB / 0.8479 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/0.07195, allocations: 4.188 kB / 0.8479 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.07219, allocations: 68.33 kB / 0.8479 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003206/0.07251, allocations: 207.1 kB / 0.8481 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005925/0.07843, allocations: 3.124 MB / 0.8512 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/0.1011, allocations: 9.865 MB / 0.8608 GB, free: 14.43 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/0.1046, allocations: 1.625 MB / 0.8624 GB, free: 12.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.1072, allocations: 1.331 MB / 0.8637 GB, free: 11.47 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.1073, allocations: 17 kB / 0.8637 GB, free: 11.45 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.1074, allocations: 43.56 kB / 0.8638 GB, free: 11.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 3.307e-06/0.1074, allocations: 0 / 0.8638 GB, free: 11.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=183): time 0.1602/0.2676, allocations: 36.22 MB / 0.8991 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2677, allocations: 69.41 kB / 0.8992 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.2699, allocations: 1.044 MB / 0.9002 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004619/0.2703, allocations: 53.7 kB / 0.9003 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008813/0.2712, allocations: 0.8092 MB / 0.9011 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.2723, allocations: 0.6351 MB / 0.9017 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/0.2735, allocations: 363.5 kB / 0.902 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.2737, allocations: 305.1 kB / 0.9023 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/0.2772, allocations: 1.928 MB / 0.9042 GB, free: 1.883 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004148/0.2814, allocations: 2.296 MB / 0.9065 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007523/0.2889, allocations: 4.388 MB / 0.9107 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.2889, allocations: 4 kB / 0.9107 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02514/0.3141, allocations: 8.954 MB / 0.9195 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.3141, allocations: 8 kB / 0.9195 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.3141, allocations: 8 kB / 0.9195 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02087/0.335, allocations: 5.178 MB / 0.9246 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.336, allocations: 199.6 kB / 0.9248 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07276/0.4087, allocations: 37.94 MB / 0.9618 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.4107, allocations: 103.9 kB / 0.9619 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004334/0.4112, allocations: 76 kB / 0.962 GB, free: 6.023 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001767/0.4129, allocations: 0.8018 MB / 0.9628 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006699/0.4136, allocations: 199.1 kB / 0.9629 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0236/0.4372, allocations: 8.734 MB / 0.9715 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/0.4372, allocations: 20 kB / 0.9715 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00012/0.4374, allocations: 28 kB / 0.9715 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/0.4374, allocations: 7.969 kB / 0.9715 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03198/0.4694, allocations: 12.41 MB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/0.4694, allocations: 4 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/0.47, allocations: 123.8 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02048/0.4905, allocations: 5.008 MB / 0.9887 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004494/0.4909, allocations: 28 kB / 0.9887 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06766/0.5586, allocations: 35.89 MB / 1.024 GB, free: 6.172 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.5586, allocations: 4 kB / 1.024 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/0.5813, allocations: 8.503 MB / 1.032 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/0.5831, allocations: 0.5692 MB / 1.033 GB, free: 13 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005235/0.5836, allocations: 43.92 kB / 1.033 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.5851, allocations: 95.83 kB / 1.033 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/0.5861, allocations: 165.6 kB / 1.033 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/0.5863, allocations: 48 kB / 1.033 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001342/0.5877, allocations: 0.718 MB / 1.034 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5877, allocations: 0 / 1.034 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003754/0.5914, allocations: 1.008 MB / 1.035 GB, free: 10.92 MB / 0.9948 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004071/0.5918, allocations: 143.1 kB / 1.035 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01253/0.6044, allocations: 5.746 MB / 1.04 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.6044, allocations: 0 / 1.04 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.008971/0.6133, allocations: 3.782 MB / 1.044 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.6151, allocations: 242.5 kB / 1.044 GB, free: 0.9023 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3406/0.9557, allocations: 5.22 MB / 1.049 GB, free: 259.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.957, allocations: 1.267 MB / 1.051 GB, free: 259.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008005/0.9578, allocations: 354.2 kB / 1.051 GB, free: 259.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.958, allocations: 61.16 kB / 1.051 GB, free: 259.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.383e-06/0.958, allocations: 0 / 1.051 GB, free: 259.1 MB / 0.9948 GB Notification: Performance of Templates: time 0.07272/1.031, allocations: 64.22 MB / 1.114 GB, free: 235.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.767771890969016]