Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001747/0.001747, allocations: 81.86 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002134/0.002134, allocations: 159.1 kB / 23.01 MB, free: 4.961 MB / 14.72 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.557/1.557, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3994, allocations: 169.9 MB / 1.117 GB, free: 2.547 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.8767/1.276, allocations: 22.24 MB / 1.139 GB, free: 49.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01042/1.287, allocations: 6.445 MB / 1.145 GB, free: 48.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/1.288, allocations: 126.2 kB / 1.146 GB, free: 48.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003513/1.292, allocations: 1.522 MB / 1.147 GB, free: 47.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004455/1.296, allocations: 1.934 MB / 1.149 GB, free: 46.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/1.3, allocations: 1.47 MB / 1.15 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007657/1.307, allocations: 6.911 MB / 1.157 GB, free: 42.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005643/1.313, allocations: 3.726 MB / 1.161 GB, free: 40.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/1.318, allocations: 2.93 MB / 1.164 GB, free: 39.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005141/1.323, allocations: 3.563 MB / 1.167 GB, free: 37.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001031/1.324, allocations: 0.5277 MB / 1.168 GB, free: 37.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/1.327, allocations: 1.107 MB / 1.169 GB, free: 37.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003432/1.331, allocations: 2.534 MB / 1.171 GB, free: 36.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003934/1.334, allocations: 2.055 MB / 1.173 GB, free: 35.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/1.348, allocations: 8.589 MB / 1.182 GB, free: 32.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.348, allocations: 0 / 1.182 GB, free: 32.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/1.348, allocations: 0 / 1.182 GB, free: 32.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003212/1.348, allocations: 0 / 1.182 GB, free: 32.91 MB / 1.076 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.01407/1.362, allocations: 4.472 MB / 1.186 GB, free: 30.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.362, allocations: 9.5 kB / 1.186 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009725/1.372, allocations: 1.716 MB / 1.188 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007933/1.38, allocations: 2.673 MB / 1.19 GB, free: 28.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/1.38, allocations: 271.3 kB / 1.191 GB, free: 28.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/1.382, allocations: 361.1 kB / 1.191 GB, free: 28.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/1.402, allocations: 7.717 MB / 1.198 GB, free: 25.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002021/1.402, allocations: 19.88 kB / 1.198 GB, free: 25.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001346/1.403, allocations: 156.4 kB / 1.199 GB, free: 25.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008747/1.404, allocations: 485.2 kB / 1.199 GB, free: 25.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/1.418, allocations: 5.699 MB / 1.205 GB, free: 23.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04085/1.459, allocations: 19.96 MB / 1.224 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/1.462, allocations: 2.008 MB / 1.226 GB, free: 9.848 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003829/1.466, allocations: 2.102 MB / 1.228 GB, free: 9.074 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/1.466, allocations: 20.08 kB / 1.228 GB, free: 9.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.466, allocations: 54.11 kB / 1.228 GB, free: 9.012 MB / 1.076 GB Notification: Performance of pre-optimization done (n=146): time 3.877e-06/1.466, allocations: 3.938 kB / 1.228 GB, free: 9.008 MB / 1.076 GB Notification: Performance of matching and sorting (n=251): time 0.3357/1.802, allocations: 76.72 MB / 1.303 GB, free: 12.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.802, allocations: 77.41 kB / 1.303 GB, free: 12.09 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/1.806, allocations: 1.606 MB / 1.305 GB, free: 10.49 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000766/1.807, allocations: 65.7 kB / 1.305 GB, free: 10.42 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.808, allocations: 1.799 MB / 1.307 GB, free: 8.602 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001497/1.81, allocations: 0.9024 MB / 1.307 GB, free: 7.691 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/1.812, allocations: 489.3 kB / 1.308 GB, free: 7.207 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.812, allocations: 305.1 kB / 1.308 GB, free: 6.906 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004925/1.817, allocations: 2.733 MB / 1.311 GB, free: 4.172 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005306/1.822, allocations: 3.328 MB / 1.314 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/1.833, allocations: 6.397 MB / 1.32 GB, free: 9.961 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/1.833, allocations: 4 kB / 1.32 GB, free: 9.957 MB / 1.154 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03804/1.871, allocations: 14.4 MB / 1.334 GB, free: 11.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/1.871, allocations: 12 kB / 1.334 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.484e-05/1.872, allocations: 16 kB / 1.334 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03319/1.905, allocations: 9.191 MB / 1.343 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/1.906, allocations: 311.4 kB / 1.344 GB, free: 1.961 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09881/2.005, allocations: 50.83 MB / 1.393 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/2.009, allocations: 219.7 kB / 1.394 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007736/2.01, allocations: 99.98 kB / 1.394 GB, free: 14.16 MB / 1.232 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.004077/2.014, allocations: 1.59 MB / 1.395 GB, free: 12.56 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007886/2.015, allocations: 250.6 kB / 1.395 GB, free: 12.32 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03599/2.051, allocations: 14.47 MB / 1.41 GB, free: 13.78 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.975e-05/2.051, allocations: 24 kB / 1.41 GB, free: 13.76 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001258/2.051, allocations: 44 kB / 1.41 GB, free: 13.71 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-05/2.051, allocations: 19.88 kB / 1.41 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04721/2.098, allocations: 18.93 MB / 1.428 GB, free: 10.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/2.098, allocations: 11.98 kB / 1.428 GB, free: 10.59 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009081/2.099, allocations: 155.8 kB / 1.428 GB, free: 10.43 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03125/2.13, allocations: 8.976 MB / 1.437 GB, free: 1.43 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008905/2.131, allocations: 48 kB / 1.437 GB, free: 1.383 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09317/2.224, allocations: 50.41 MB / 1.486 GB, free: 14.32 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/2.224, allocations: 11.94 kB / 1.486 GB, free: 14.3 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03544/2.26, allocations: 14.09 MB / 1.5 GB, free: 80 kB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003344/2.263, allocations: 0.7802 MB / 1.501 GB, free: 15.3 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/2.264, allocations: 52 kB / 1.501 GB, free: 15.25 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/2.266, allocations: 203.7 kB / 1.501 GB, free: 15.05 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/2.267, allocations: 261.4 kB / 1.501 GB, free: 14.79 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002505/2.268, allocations: 64 kB / 1.501 GB, free: 14.73 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.001811/2.269, allocations: 1.06 MB / 1.502 GB, free: 13.68 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.4e-07/2.269, allocations: 3.938 kB / 1.502 GB, free: 13.67 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.006521/2.276, allocations: 1.621 MB / 1.504 GB, free: 12.05 MB / 1.342 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.0004794/2.276, allocations: 166.2 kB / 1.504 GB, free: 11.88 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.02533/2.302, allocations: 10.2 MB / 1.514 GB, free: 1.621 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 2.153e-05/2.302, allocations: 0 / 1.514 GB, free: 1.621 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.0207/2.323, allocations: 7.007 MB / 1.521 GB, free: 10.54 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/2.326, allocations: 0.5428 MB / 1.522 GB, free: 10.01 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/2.346, allocations: 8.924 MB / 1.53 GB, free: 0.9961 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004678/2.35, allocations: 2.681 MB / 1.533 GB, free: 14.28 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.001438/2.352, allocations: 386.8 kB / 1.533 GB, free: 13.89 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/2.352, allocations: 92.5 kB / 1.533 GB, free: 13.8 MB / 1.373 GB Notification: Performance of SimCode: time 1.222e-06/2.352, allocations: 0 / 1.533 GB, free: 13.8 MB / 1.373 GB Notification: Performance of Templates: time 0.1638/2.516, allocations: 97.39 MB / 1.628 GB, free: 12.91 MB / 1.467 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.615742655005306]