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.001313/0.001313, allocations: 116.3 kB / 17.13 MB, free: 6.004 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.001528/0.001528, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3/3, allocations: 0.49 GB / 0.7923 GB, free: 1.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002039/0.002039, allocations: 75.89 kB / 1.15 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.158, allocations: 176.1 MB / 1.322 GB, free: 7.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03007/1.189, allocations: 23.78 MB / 1.345 GB, free: 5.516 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01336/1.202, allocations: 6.582 MB / 1.352 GB, free: 248 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/1.205, allocations: 126.6 kB / 1.352 GB, free: 188 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004884/1.21, allocations: 1.534 MB / 1.353 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00621/1.216, allocations: 1.933 MB / 1.355 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004435/1.221, allocations: 1.462 MB / 1.357 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01015/1.231, allocations: 6.904 MB / 1.363 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0084/1.239, allocations: 5.192 MB / 1.368 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005929/1.245, allocations: 2.912 MB / 1.371 GB, free: 3.527 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006664/1.252, allocations: 3.747 MB / 1.375 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001505/1.253, allocations: 0.5273 MB / 1.375 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/1.257, allocations: 1.194 MB / 1.377 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003854/1.261, allocations: 2.533 MB / 1.379 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004605/1.265, allocations: 2.536 MB / 1.382 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/1.277, allocations: 8.541 MB / 1.39 GB, free: 408 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/1.277, allocations: 3.984 kB / 1.39 GB, free: 404 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.963e-06/1.277, allocations: 0 / 1.39 GB, free: 404 kB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002697/1.277, allocations: 0 / 1.39 GB, free: 404 kB / 1.061 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.01218/1.29, allocations: 4.547 MB / 1.394 GB, free: 11.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.29, allocations: 15.98 kB / 1.394 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009646/1.299, allocations: 1.699 MB / 1.396 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006585/1.306, allocations: 2.705 MB / 1.399 GB, free: 7.293 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/1.306, allocations: 279.7 kB / 1.399 GB, free: 7.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/1.308, allocations: 364.2 kB / 1.399 GB, free: 6.664 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/1.325, allocations: 7.487 MB / 1.407 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/1.325, allocations: 15.88 kB / 1.407 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008366/1.326, allocations: 155.9 kB / 1.407 GB, free: 14.74 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007767/1.326, allocations: 487.3 kB / 1.407 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/1.339, allocations: 5.701 MB / 1.413 GB, free: 8.559 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05125/1.39, allocations: 31.54 MB / 1.444 GB, free: 6.254 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/1.394, allocations: 2.023 MB / 1.446 GB, free: 4.215 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003652/1.398, allocations: 2.1 MB / 1.448 GB, free: 2.117 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/1.398, allocations: 21.3 kB / 1.448 GB, free: 2.094 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/1.398, allocations: 47.88 kB / 1.448 GB, free: 2.039 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 3.306e-06/1.398, allocations: 0 / 1.448 GB, free: 2.039 MB / 1.123 GB Notification: Performance of matching and sorting (n=251): time 0.3344/1.732, allocations: 76.8 MB / 1.523 GB, free: 5.098 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/1.732, allocations: 81.34 kB / 1.523 GB, free: 5.004 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/1.736, allocations: 1.678 MB / 1.524 GB, free: 3.281 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005427/1.736, allocations: 65.7 kB / 1.524 GB, free: 3.211 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.738, allocations: 1.792 MB / 1.526 GB, free: 1.402 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.739, allocations: 0.8985 MB / 1.527 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/1.741, allocations: 489.3 kB / 1.527 GB, free: 12 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.741, allocations: 301.1 kB / 1.528 GB, free: 15.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004486/1.745, allocations: 2.73 MB / 1.53 GB, free: 12.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005189/1.75, allocations: 3.336 MB / 1.534 GB, free: 9.402 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.761, allocations: 6.389 MB / 1.54 GB, free: 2.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/1.761, allocations: 4 kB / 1.54 GB, free: 2.766 MB / 1.217 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03691/1.798, allocations: 14.41 MB / 1.554 GB, free: 4.309 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.798, allocations: 12 kB / 1.554 GB, free: 4.297 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.242e-05/1.798, allocations: 16 kB / 1.554 GB, free: 4.281 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03302/1.831, allocations: 9.247 MB / 1.563 GB, free: 11.01 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.832, allocations: 303.4 kB / 1.563 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0962/1.929, allocations: 52.39 MB / 1.615 GB, free: 5.441 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.932, allocations: 231.6 kB / 1.615 GB, free: 5.215 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/1.932, allocations: 96 kB / 1.615 GB, free: 5.121 MB / 1.295 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.003145/1.935, allocations: 1.587 MB / 1.616 GB, free: 3.523 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/1.936, allocations: 258.6 kB / 1.617 GB, free: 3.27 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03656/1.973, allocations: 14.47 MB / 1.631 GB, free: 4.75 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/1.973, allocations: 24 kB / 1.631 GB, free: 4.727 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001489/1.973, allocations: 47.94 kB / 1.631 GB, free: 4.68 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-05/1.973, allocations: 15.95 kB / 1.631 GB, free: 4.664 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04655/2.019, allocations: 20.24 MB / 1.651 GB, free: 224 kB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/2.019, allocations: 4 kB / 1.651 GB, free: 220 kB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/2.02, allocations: 163.7 kB / 1.651 GB, free: 56 kB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03176/2.052, allocations: 9.004 MB / 1.66 GB, free: 7.02 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005622/2.053, allocations: 48 kB / 1.66 GB, free: 6.973 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08958/2.142, allocations: 51.97 MB / 1.71 GB, free: 2.129 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/2.142, allocations: 11.94 kB / 1.71 GB, free: 2.117 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03456/2.177, allocations: 14.1 MB / 1.724 GB, free: 3.871 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/2.179, allocations: 0.8546 MB / 1.725 GB, free: 2.996 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005886/2.18, allocations: 48 kB / 1.725 GB, free: 2.949 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/2.182, allocations: 207.6 kB / 1.725 GB, free: 2.746 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001361/2.183, allocations: 249.4 kB / 1.725 GB, free: 2.5 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/2.183, allocations: 60 kB / 1.726 GB, free: 2.441 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.001747/2.185, allocations: 1.129 MB / 1.727 GB, free: 1.289 MB / 1.404 GB Notification: Performance of sort global known variables: time 1.2e-07/2.185, allocations: 0 / 1.727 GB, free: 1.289 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.005237/2.19, allocations: 1.609 MB / 1.728 GB, free: 15.68 MB / 1.42 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.0004791/2.191, allocations: 167 kB / 1.728 GB, free: 15.51 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.02481/2.216, allocations: 10.2 MB / 1.738 GB, free: 5.238 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/2.216, allocations: 0.875 kB / 1.738 GB, free: 5.238 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.0195/2.235, allocations: 7.016 MB / 1.745 GB, free: 14.14 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/2.239, allocations: 0.5627 MB / 1.746 GB, free: 13.59 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/2.257, allocations: 9.434 MB / 1.755 GB, free: 4.059 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004733/2.262, allocations: 3.294 MB / 1.758 GB, free: 0.7305 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/2.262, allocations: 111.4 kB / 1.758 GB, free: 0.6211 MB / 1.436 GB Notification: Performance of SimCode: time 1.523e-06/2.262, allocations: 0 / 1.758 GB, free: 0.6211 MB / 1.436 GB Notification: Performance of Templates: time 1.054/3.316, allocations: 188 MB / 1.942 GB, free: 370.4 MB / 1.498 GB " [Timeout remaining time 297] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 24.036098726006458]