Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.002476/0.002476, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.003065/0.003065, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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.605/1.605, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 3.027/3.027, allocations: 377.9 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] 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_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8108 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.437e-05, allocations: 6.25 kB / 0.8108 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.05277/0.05281, allocations: 23.35 MB / 0.8336 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.06625, allocations: 6.583 MB / 0.84 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.06812, allocations: 131.6 kB / 0.8402 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004601/0.07272, allocations: 1.555 MB / 0.8417 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004895/0.07762, allocations: 1.981 MB / 0.8436 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.08138, allocations: 1.481 MB / 0.8451 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009677/0.09106, allocations: 7.028 MB / 0.8519 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007296/0.09836, allocations: 3.758 MB / 0.8556 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007628/0.106, allocations: 4.05 MB / 0.8596 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006499/0.1125, allocations: 3.514 MB / 0.863 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001476/0.114, allocations: 0.5273 MB / 0.8635 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.1169, allocations: 1.135 MB / 0.8646 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0039/0.1208, allocations: 2.697 MB / 0.8672 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004031/0.1249, allocations: 1.774 MB / 0.869 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.1375, allocations: 8.73 MB / 0.8775 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1375, allocations: 0 / 0.8775 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1375, allocations: 0 / 0.8775 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001913/0.1377, allocations: 0 / 0.8775 GB, free: 12.44 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01146/0.1492, allocations: 5.116 MB / 0.8825 GB, free: 7.266 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1492, allocations: 8.031 kB / 0.8825 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009953/0.1592, allocations: 2.229 MB / 0.8847 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007126/0.1663, allocations: 2.542 MB / 0.8872 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.1666, allocations: 275.7 kB / 0.8874 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.1676, allocations: 364.3 kB / 0.8878 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.1783, allocations: 4.519 MB / 0.8922 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.1784, allocations: 24.02 kB / 0.8922 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005118/0.1789, allocations: 156.3 kB / 0.8924 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007064/0.1796, allocations: 495.3 kB / 0.8928 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.1856, allocations: 1.747 MB / 0.8945 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04045/0.226, allocations: 25.79 MB / 0.9197 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.228, allocations: 0.7985 MB / 0.9205 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.2299, allocations: 0.8226 MB / 0.9213 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.2301, allocations: 29.25 kB / 0.9213 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.2301, allocations: 58.7 kB / 0.9214 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 3.507e-06/0.2301, allocations: 0 / 0.9214 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.065/0.2951, allocations: 17.36 MB / 0.9384 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.2952, allocations: 77.41 kB / 0.9384 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/0.2981, allocations: 1.871 MB / 0.9403 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003555/0.2984, allocations: 65.7 kB / 0.9403 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/0.3002, allocations: 1.963 MB / 0.9422 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/0.3015, allocations: 0.9689 MB / 0.9432 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.3027, allocations: 0.5233 MB / 0.9437 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.3029, allocations: 488.7 kB / 0.9442 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/0.3051, allocations: 0.8367 MB / 0.945 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/0.3084, allocations: 1.759 MB / 0.9467 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/0.3141, allocations: 2.889 MB / 0.9495 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.3141, allocations: 4 kB / 0.9495 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03025/0.3443, allocations: 8.878 MB / 0.9582 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.3444, allocations: 12 kB / 0.9582 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.3444, allocations: 16 kB / 0.9582 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03166/0.3761, allocations: 7.05 MB / 0.9651 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.3774, allocations: 303.5 kB / 0.9654 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0662/0.4436, allocations: 27.07 MB / 0.9918 GB, free: 4.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/0.4469, allocations: 223.7 kB / 0.992 GB, free: 4.246 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/0.4473, allocations: 96 kB / 0.9921 GB, free: 4.152 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001938/0.4492, allocations: 399.9 kB / 0.9925 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009607/0.4502, allocations: 326.5 kB / 0.9928 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03062/0.4808, allocations: 8.831 MB / 1.001 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/0.4808, allocations: 24 kB / 1.001 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/0.481, allocations: 47.98 kB / 1.002 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.337e-05/0.481, allocations: 19.83 kB / 1.002 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04199/0.523, allocations: 13.82 MB / 1.015 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/0.523, allocations: 8.125 kB / 1.015 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008545/0.5239, allocations: 163.8 kB / 1.015 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03147/0.5554, allocations: 6.842 MB / 1.022 GB, free: 5.359 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006878/0.556, allocations: 48 kB / 1.022 GB, free: 5.312 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4322/0.9882, allocations: 26.84 MB / 1.048 GB, free: 188 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/0.9882, allocations: 10.41 kB / 1.048 GB, free: 188 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02538/1.014, allocations: 8.793 MB / 1.057 GB, free: 187 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.016, allocations: 0.7127 MB / 1.057 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/1.016, allocations: 49.47 kB / 1.057 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.019, allocations: 210.1 kB / 1.058 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001516/1.02, allocations: 245 kB / 1.058 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.02, allocations: 71.58 kB / 1.058 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001262/1.022, allocations: 1.04 MB / 1.059 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/1.022, allocations: 0 / 1.059 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004313/1.026, allocations: 1.623 MB / 1.061 GB, free: 186.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003579/1.026, allocations: 152.4 kB / 1.061 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01745/1.044, allocations: 7.088 MB / 1.068 GB, free: 184 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.044, allocations: 0.875 kB / 1.068 GB, free: 184 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01513/1.059, allocations: 5.768 MB / 1.073 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.062, allocations: 0.5408 MB / 1.074 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.072, allocations: 7.664 MB / 1.081 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/1.075, allocations: 2.393 MB / 1.084 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008856/1.076, allocations: 316.6 kB / 1.084 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/1.076, allocations: 103.8 kB / 1.084 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/1.076, allocations: 4 kB / 1.084 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.1028/1.179, allocations: 100.2 MB / 1.182 GB, free: 75.8 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 10.818579123006202]