Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001923/0.001923, allocations: 83.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.001977/0.001977, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.533/1.533, 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.888/2.888, 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_RL,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7864 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.66e-05, allocations: 7.281 kB / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03329/0.03332, allocations: 22.58 MB / 0.8085 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.04614, allocations: 6.318 MB / 0.8146 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.04806, allocations: 123.1 kB / 0.8147 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004771/0.05283, allocations: 1.599 MB / 0.8163 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.05764, allocations: 1.777 MB / 0.818 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.06128, allocations: 1.361 MB / 0.8194 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.008589/0.06987, allocations: 6.04 MB / 0.8253 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006252/0.07612, allocations: 3.218 MB / 0.8284 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007075/0.0832, allocations: 3.463 MB / 0.8318 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005316/0.08851, allocations: 2.881 MB / 0.8346 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000921/0.08943, allocations: 460 kB / 0.835 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.092, allocations: 1.057 MB / 0.8361 GB, free: 9.621 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002909/0.09491, allocations: 2.226 MB / 0.8382 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.0976, allocations: 1.513 MB / 0.8397 GB, free: 5.875 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.1102, allocations: 7.472 MB / 0.847 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1102, allocations: 0 / 0.847 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1102, allocations: 0 / 0.847 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002324/0.1105, allocations: 0 / 0.847 GB, free: 14.38 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01063/0.1211, allocations: 4.406 MB / 0.8513 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.1211, allocations: 8.031 kB / 0.8513 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/0.1285, allocations: 1.668 MB / 0.853 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/0.1351, allocations: 2.226 MB / 0.8551 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.1354, allocations: 246.3 kB / 0.8554 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/0.1365, allocations: 319.9 kB / 0.8557 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009242/0.1458, allocations: 3.953 MB / 0.8595 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.399e-05/0.1459, allocations: 15.86 kB / 0.8595 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/0.1463, allocations: 140 kB / 0.8597 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005673/0.1468, allocations: 398.3 kB / 0.8601 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005003/0.1518, allocations: 1.524 MB / 0.8615 GB, free: 14.98 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/0.1961, allocations: 23.44 MB / 0.8844 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.1986, allocations: 0.5106 MB / 0.8849 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002399/0.201, allocations: 0.5784 MB / 0.8855 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.2012, allocations: 17 kB / 0.8855 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.411e-05/0.2013, allocations: 46.39 kB / 0.8856 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 5.691e-06/0.2013, allocations: 0 / 0.8856 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.07131/0.2726, allocations: 9.856 MB / 0.8952 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.2727, allocations: 69.41 kB / 0.8952 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00501/0.2777, allocations: 1.657 MB / 0.8969 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004687/0.2782, allocations: 49.7 kB / 0.8969 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00271/0.2809, allocations: 1.726 MB / 0.8986 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/0.2825, allocations: 0.7015 MB / 0.8993 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/0.2846, allocations: 429.2 kB / 0.8997 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003937/0.285, allocations: 484.7 kB / 0.9002 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/0.288, allocations: 0.6092 MB / 0.9007 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004431/0.2925, allocations: 1.465 MB / 0.9022 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008249/0.3007, allocations: 2.307 MB / 0.9044 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.3007, allocations: 4 kB / 0.9044 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.03263/0.3334, allocations: 5.083 MB / 0.9094 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.3334, allocations: 13.88 kB / 0.9094 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.157e-05/0.3335, allocations: 24 kB / 0.9094 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03279/0.3663, allocations: 3.354 MB / 0.9127 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.369, allocations: 299.5 kB / 0.913 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06911/0.4382, allocations: 19.53 MB / 0.9321 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.4417, allocations: 147.8 kB / 0.9322 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004376/0.4422, allocations: 83.98 kB / 0.9323 GB, free: 4.242 MB / 0.8855 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001844/0.444, allocations: 368.1 kB / 0.9326 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/0.4451, allocations: 262.8 kB / 0.9329 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02999/0.475, allocations: 4.831 MB / 0.9376 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/0.4751, allocations: 19.94 kB / 0.9376 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/0.4752, allocations: 28 kB / 0.9377 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.176e-05/0.4752, allocations: 7.969 kB / 0.9377 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04381/0.5191, allocations: 8.846 MB / 0.9463 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/0.5191, allocations: 8 kB / 0.9463 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.5206, allocations: 167.7 kB / 0.9465 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02115/0.5418, allocations: 3.241 MB / 0.9496 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003387/0.5421, allocations: 36 kB / 0.9497 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0413/0.5834, allocations: 19.34 MB / 0.9686 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.5834, allocations: 11.98 kB / 0.9686 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/0.5996, allocations: 4.923 MB / 0.9734 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/0.6015, allocations: 0.5023 MB / 0.9739 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.6019, allocations: 40 kB / 0.9739 GB, free: 8.441 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.6034, allocations: 131.8 kB / 0.974 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008324/0.6043, allocations: 180.8 kB / 0.9742 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.6044, allocations: 48 kB / 0.9742 GB, free: 8.086 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001501/0.6059, allocations: 0.925 MB / 0.9751 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.6059, allocations: 0 / 0.9751 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003762/0.6097, allocations: 1.113 MB / 0.9762 GB, free: 6.051 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000351/0.6101, allocations: 159 kB / 0.9764 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01211/0.6222, allocations: 4.506 MB / 0.9808 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.6222, allocations: 0 / 0.9808 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.009985/0.6322, allocations: 3.538 MB / 0.9842 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.6349, allocations: 0.5119 MB / 0.9847 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.647, allocations: 6.093 MB / 0.9907 GB, free: 6.855 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/0.65, allocations: 1.935 MB / 0.9926 GB, free: 4.879 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001074/0.6511, allocations: 315.7 kB / 0.9929 GB, free: 4.566 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.6513, allocations: 88.5 kB / 0.993 GB, free: 4.48 MB / 0.948 GB Notification: Performance of SimCode: time 1.303e-06/0.6513, allocations: 4 kB / 0.993 GB, free: 4.477 MB / 0.948 GB Notification: Performance of Templates: time 0.1138/0.7652, allocations: 65.39 MB / 1.057 GB, free: 3.602 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.38133063109126]