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.001854/0.001854, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002797/0.002797, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.592/1.592, 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 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.909/2.909, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 1.312e-06/1.312e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.489e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01508/0.01511, allocations: 10.05 MB / 0.7962 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006466/0.02157, allocations: 3.093 MB / 0.7992 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.02223, allocations: 47.69 kB / 0.7993 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.02435, allocations: 0.7043 MB / 0.8 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.0261, allocations: 0.7403 MB / 0.8007 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.02771, allocations: 0.6508 MB / 0.8013 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003561/0.03127, allocations: 2.781 MB / 0.804 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.03351, allocations: 1.369 MB / 0.8054 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.03603, allocations: 1.59 MB / 0.8069 GB, free: 7.66 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.03825, allocations: 1.411 MB / 0.8083 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.03863, allocations: 216 kB / 0.8085 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.03964, allocations: 468.6 kB / 0.809 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.04088, allocations: 1.072 MB / 0.81 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.04194, allocations: 0.7212 MB / 0.8107 GB, free: 3.785 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004234/0.04617, allocations: 3.506 MB / 0.8141 GB, free: 276 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.04618, allocations: 4.812 kB / 0.8141 GB, free: 272 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.132e-06/0.04618, allocations: 4 kB / 0.8142 GB, free: 268 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.018e-05/0.04622, allocations: 1.969 kB / 0.8142 GB, free: 268 kB / 0.7605 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.004356/0.05057, allocations: 2.217 MB / 0.8163 GB, free: 14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.05062, allocations: 8.031 kB / 0.8163 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006435/0.05705, allocations: 1.163 MB / 0.8175 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.05988, allocations: 1.08 MB / 0.8185 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.05999, allocations: 107.3 kB / 0.8186 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.06032, allocations: 148.3 kB / 0.8188 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.06448, allocations: 1.857 MB / 0.8206 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/0.06452, allocations: 4.188 kB / 0.8206 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.06472, allocations: 61.44 kB / 0.8206 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002831/0.06501, allocations: 178.9 kB / 0.8208 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.06758, allocations: 0.8869 MB / 0.8217 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.08503, allocations: 10.17 MB / 0.8316 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.08638, allocations: 499.1 kB / 0.8321 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/0.08721, allocations: 382.6 kB / 0.8324 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.08728, allocations: 12.66 kB / 0.8325 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.08733, allocations: 42.05 kB / 0.8325 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=82): time 3.086e-06/0.08733, allocations: 4 kB / 0.8325 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of matching and sorting (n=139): time 0.02325/0.1106, allocations: 6.001 MB / 0.8384 GB, free: 6.906 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.1107, allocations: 68.72 kB / 0.8384 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.1121, allocations: 0.9561 MB / 0.8394 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.1122, allocations: 49.7 kB / 0.8394 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008608/0.113, allocations: 0.8426 MB / 0.8402 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000632/0.1137, allocations: 0.5465 MB / 0.8408 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007245/0.1144, allocations: 341.2 kB / 0.8411 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003323/0.1147, allocations: 0.555 MB / 0.8416 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.1158, allocations: 415.7 kB / 0.842 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.1174, allocations: 0.9197 MB / 0.8429 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.1203, allocations: 1.483 MB / 0.8444 GB, free: 368 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.1203, allocations: 4 kB / 0.8444 GB, free: 364 kB / 0.7917 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01048/0.1308, allocations: 3.072 MB / 0.8474 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.1308, allocations: 8 kB / 0.8474 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.1308, allocations: 8 kB / 0.8474 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009451/0.1403, allocations: 1.956 MB / 0.8493 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009144/0.1412, allocations: 195.7 kB / 0.8495 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03191/0.1731, allocations: 15.76 MB / 0.8649 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.1747, allocations: 99.83 kB / 0.865 GB, free: 10.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/0.175, allocations: 55.98 kB / 0.865 GB, free: 10.69 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.0007888/0.1757, allocations: 288.2 kB / 0.8653 GB, free: 10.39 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.1762, allocations: 155.3 kB / 0.8654 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.1866, allocations: 2.905 MB / 0.8683 GB, free: 7.301 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.1866, allocations: 12 kB / 0.8683 GB, free: 7.289 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-05/0.1866, allocations: 24 kB / 0.8683 GB, free: 7.266 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.1867, allocations: 11.91 kB / 0.8683 GB, free: 7.254 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.2022, allocations: 5.312 MB / 0.8735 GB, free: 1.816 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.2022, allocations: 4 kB / 0.8735 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.2027, allocations: 119.8 kB / 0.8736 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009276/0.212, allocations: 1.849 MB / 0.8754 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.2122, allocations: 24 kB / 0.8755 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03005/0.2422, allocations: 14.49 MB / 0.8896 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.2422, allocations: 7.984 kB / 0.8896 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.2526, allocations: 2.984 MB / 0.8925 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.254, allocations: 375 kB / 0.8929 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/0.2543, allocations: 35.94 kB / 0.8929 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.2553, allocations: 71.91 kB / 0.893 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005465/0.2559, allocations: 132.9 kB / 0.8931 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.256, allocations: 40.19 kB / 0.8932 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009276/0.2569, allocations: 0.5731 MB / 0.8937 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2569, allocations: 0 / 0.8937 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002612/0.2595, allocations: 0.7227 MB / 0.8944 GB, free: 11.8 MB / 0.8542 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.000291/0.2598, allocations: 139.1 kB / 0.8946 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006761/0.2666, allocations: 2.69 MB / 0.8972 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.2666, allocations: 0 / 0.8972 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005455/0.2721, allocations: 2.136 MB / 0.8993 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.2736, allocations: 212.5 kB / 0.8995 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008041/0.2817, allocations: 3.338 MB / 0.9027 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/0.2837, allocations: 0.98 MB / 0.9037 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008047/0.2845, allocations: 253.2 kB / 0.9039 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.2847, allocations: 52.5 kB / 0.904 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of SimCode: time 1.683e-06/0.2847, allocations: 0 / 0.904 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of Templates: time 0.07349/0.3582, allocations: 42.82 MB / 0.9458 GB, free: 7.164 MB / 0.9011 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] 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: 8.985054999007843]