Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001891/0.001891, allocations: 84.41 kB / 20.23 MB, free: 4.191 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.002347/0.002347, allocations: 157.7 kB / 23.54 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.483/1.483, 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.695/2.695, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.933e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01401/0.01404, allocations: 9.497 MB / 0.7957 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006359/0.0204, allocations: 3.128 MB / 0.7987 GB, free: 148 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007734/0.02117, allocations: 47.62 kB / 0.7988 GB, free: 100 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.02316, allocations: 0.6044 MB / 0.7994 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.02536, allocations: 0.8042 MB / 0.8001 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.02731, allocations: 0.7489 MB / 0.8009 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003969/0.03128, allocations: 3.049 MB / 0.8038 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.03381, allocations: 1.412 MB / 0.8052 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.03705, allocations: 1.742 MB / 0.8069 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.03997, allocations: 1.554 MB / 0.8084 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006373/0.04061, allocations: 237.1 kB / 0.8087 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.04203, allocations: 487.2 kB / 0.8091 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.04381, allocations: 1.154 MB / 0.8103 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.0454, allocations: 0.7805 MB / 0.811 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.05041, allocations: 3.798 MB / 0.8147 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.05041, allocations: 5.5 kB / 0.8147 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.05041, allocations: 0 / 0.8147 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.651e-05/0.05049, allocations: 0 / 0.8147 GB, free: 15.68 MB / 0.7761 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.004652/0.05514, allocations: 2.089 MB / 0.8168 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.05518, allocations: 9.156 kB / 0.8168 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009418/0.0646, allocations: 1.734 MB / 0.8185 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.06725, allocations: 1.307 MB / 0.8198 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.06737, allocations: 119.3 kB / 0.8199 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.06774, allocations: 148.3 kB / 0.82 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006405/0.07414, allocations: 3.517 MB / 0.8234 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.07418, allocations: 4.188 kB / 0.8234 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.07442, allocations: 68.34 kB / 0.8235 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000329/0.07475, allocations: 207.1 kB / 0.8237 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008832/0.08358, allocations: 3.116 MB / 0.8268 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02337/0.107, allocations: 9.881 MB / 0.8364 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.11, allocations: 1.612 MB / 0.838 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/0.1124, allocations: 1.327 MB / 0.8393 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.1125, allocations: 21 kB / 0.8393 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.1126, allocations: 43.56 kB / 0.8393 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=104): time 3.036e-06/0.1126, allocations: 0 / 0.8393 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of matching and sorting (n=183): time 0.1511/0.2637, allocations: 36.23 MB / 0.8747 GB, free: 1.844 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.2638, allocations: 73.41 kB / 0.8748 GB, free: 1.762 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.2656, allocations: 1.036 MB / 0.8758 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.2659, allocations: 57.7 kB / 0.8759 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000751/0.2666, allocations: 0.8055 MB / 0.8766 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008722/0.2675, allocations: 0.6429 MB / 0.8773 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.2685, allocations: 363.5 kB / 0.8776 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2687, allocations: 305.1 kB / 0.8779 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003322/0.272, allocations: 1.928 MB / 0.8798 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/0.2756, allocations: 2.289 MB / 0.882 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007121/0.2827, allocations: 4.394 MB / 0.8863 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.2827, allocations: 0 / 0.8863 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02277/0.3055, allocations: 8.954 MB / 0.8951 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.3055, allocations: 8 kB / 0.8951 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.3056, allocations: 12 kB / 0.8951 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02013/0.3257, allocations: 5.172 MB / 0.9001 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.3267, allocations: 203.6 kB / 0.9003 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06699/0.3936, allocations: 37.93 MB / 0.9374 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.3955, allocations: 111.9 kB / 0.9375 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/0.3958, allocations: 67.94 kB / 0.9375 GB, free: 0.7422 MB / 0.8855 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.001599/0.3974, allocations: 0.8018 MB / 0.9383 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005801/0.398, allocations: 203.1 kB / 0.9385 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0225/0.4205, allocations: 8.737 MB / 0.947 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/0.4206, allocations: 16 kB / 0.9471 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001211/0.4207, allocations: 32 kB / 0.9471 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/0.4207, allocations: 11.91 kB / 0.9471 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03014/0.4509, allocations: 12.4 MB / 0.9592 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.4509, allocations: 4 kB / 0.9592 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.4514, allocations: 119.8 kB / 0.9593 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01921/0.4706, allocations: 5.01 MB / 0.9642 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002583/0.4709, allocations: 36 kB / 0.9643 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06322/0.5341, allocations: 35.89 MB / 0.9993 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.5341, allocations: 7.938 kB / 0.9993 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/0.5553, allocations: 8.506 MB / 1.008 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/0.5569, allocations: 0.5731 MB / 1.008 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003917/0.5573, allocations: 36 kB / 1.008 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.5586, allocations: 91.83 kB / 1.008 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008934/0.5595, allocations: 169.6 kB / 1.008 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.5596, allocations: 48 kB / 1.009 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001213/0.5609, allocations: 0.7218 MB / 1.009 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.5609, allocations: 0 / 1.009 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003347/0.5642, allocations: 1.008 MB / 1.01 GB, free: 5.633 MB / 0.9636 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.0003441/0.5645, allocations: 135.1 kB / 1.01 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01117/0.5757, allocations: 5.746 MB / 1.016 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5757, allocations: 0 / 1.016 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.008906/0.5846, allocations: 3.781 MB / 1.02 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.5864, allocations: 235.3 kB / 1.02 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5967, allocations: 5.23 MB / 1.025 GB, free: 6.328 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.5988, allocations: 1.271 MB / 1.026 GB, free: 5.016 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001079/0.5999, allocations: 347.2 kB / 1.027 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.6002, allocations: 64.48 kB / 1.027 GB, free: 4.609 MB / 0.9792 GB Notification: Performance of SimCode: time 1.443e-06/0.6002, allocations: 0 / 1.027 GB, free: 4.609 MB / 0.9792 GB Notification: Performance of Templates: time 0.4373/1.038, allocations: 64.22 MB / 1.089 GB, free: 276.3 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.690545010962524]