Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001364/0.001364, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001467/0.001467, allocations: 163.8 kB / 23.02 MB, free: 4.945 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.461/1.461, 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 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 2.983/2.983, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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_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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.002369/0.002369, allocations: 67.89 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8374/0.8398, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008635/0.8484, allocations: 9.636 MB / 1.163 GB, free: 27.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.8532, allocations: 3.15 MB / 1.166 GB, free: 25.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005412/0.8537, allocations: 46.09 kB / 1.166 GB, free: 25.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.8551, allocations: 0.6084 MB / 1.167 GB, free: 24.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.8564, allocations: 0.7823 MB / 1.168 GB, free: 24.28 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.8577, allocations: 0.7461 MB / 1.169 GB, free: 23.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.86, allocations: 2.993 MB / 1.171 GB, free: 22.65 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.8618, allocations: 1.414 MB / 1.173 GB, free: 21.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.8639, allocations: 1.286 MB / 1.174 GB, free: 21.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.8661, allocations: 1.636 MB / 1.176 GB, free: 20.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004082/0.8665, allocations: 234.5 kB / 1.176 GB, free: 20.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.8675, allocations: 486.5 kB / 1.176 GB, free: 20.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.8686, allocations: 1.095 MB / 1.177 GB, free: 20.33 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.8698, allocations: 0.9152 MB / 1.178 GB, free: 19.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/0.8743, allocations: 3.712 MB / 1.182 GB, free: 18.7 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8743, allocations: 0 / 1.182 GB, free: 18.7 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8743, allocations: 1.156 kB / 1.182 GB, free: 18.7 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.478e-05/0.8744, allocations: 0 / 1.182 GB, free: 18.7 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005206/0.8796, allocations: 2.127 MB / 1.184 GB, free: 17.44 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8796, allocations: 10.22 kB / 1.184 GB, free: 17.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009646/0.8893, allocations: 1.357 MB / 1.185 GB, free: 17.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.8925, allocations: 1.271 MB / 1.187 GB, free: 16.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/0.8926, allocations: 115.8 kB / 1.187 GB, free: 16.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004349/0.893, allocations: 145.3 kB / 1.187 GB, free: 16.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/0.8989, allocations: 3.515 MB / 1.19 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/0.8989, allocations: 9.781 kB / 1.19 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.8992, allocations: 67.16 kB / 1.19 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002953/0.8994, allocations: 204.8 kB / 1.191 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005413/0.9049, allocations: 3.116 MB / 1.194 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.9226, allocations: 9.832 MB / 1.203 GB, free: 8.742 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.9252, allocations: 1.617 MB / 1.205 GB, free: 8.199 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.9277, allocations: 1.326 MB / 1.206 GB, free: 7.777 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.555e-05/0.9278, allocations: 12.17 kB / 1.206 GB, free: 7.773 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.9278, allocations: 40.75 kB / 1.206 GB, free: 7.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 4.729e-06/0.9278, allocations: 0 / 1.206 GB, free: 7.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1609/1.089, allocations: 36.19 MB / 1.241 GB, free: 14.09 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/1.089, allocations: 71.59 kB / 1.242 GB, free: 14.03 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/1.091, allocations: 1.046 MB / 1.243 GB, free: 13.45 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005136/1.092, allocations: 55.7 kB / 1.243 GB, free: 13.4 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008109/1.092, allocations: 0.8085 MB / 1.243 GB, free: 12.68 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.093, allocations: 0.6564 MB / 1.244 GB, free: 12.1 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/1.095, allocations: 362.3 kB / 1.244 GB, free: 11.92 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.095, allocations: 302.2 kB / 1.245 GB, free: 11.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/1.098, allocations: 1.934 MB / 1.247 GB, free: 9.809 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/1.102, allocations: 2.293 MB / 1.249 GB, free: 7.395 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007072/1.109, allocations: 4.394 MB / 1.253 GB, free: 2.879 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/1.109, allocations: 4 kB / 1.253 GB, free: 2.875 MB / 1.092 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02332/1.132, allocations: 8.861 MB / 1.262 GB, free: 9.988 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/1.132, allocations: 13.72 kB / 1.262 GB, free: 9.977 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/1.133, allocations: 11.94 kB / 1.262 GB, free: 9.965 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01871/1.151, allocations: 4.976 MB / 1.267 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.152, allocations: 191.7 kB / 1.267 GB, free: 4.785 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06581/1.218, allocations: 37.82 MB / 1.304 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/1.221, allocations: 103.9 kB / 1.304 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/1.221, allocations: 67.98 kB / 1.304 GB, free: 14.38 MB / 1.154 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.001664/1.223, allocations: 0.8057 MB / 1.305 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/1.223, allocations: 147.1 kB / 1.305 GB, free: 13.42 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/1.245, allocations: 8.73 MB / 1.313 GB, free: 4.652 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/1.245, allocations: 23.94 kB / 1.313 GB, free: 4.629 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-05/1.245, allocations: 28 kB / 1.313 GB, free: 4.602 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-05/1.245, allocations: 7.969 kB / 1.313 GB, free: 4.594 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03005/1.275, allocations: 12.4 MB / 1.326 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.275, allocations: 4 kB / 1.326 GB, free: 8.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/1.276, allocations: 119.8 kB / 1.326 GB, free: 7.953 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01848/1.294, allocations: 4.828 MB / 1.33 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004856/1.295, allocations: 36 kB / 1.33 GB, free: 3.078 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06309/1.358, allocations: 35.78 MB / 1.365 GB, free: 14.87 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/1.358, allocations: 7.938 kB / 1.365 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/1.38, allocations: 8.44 MB / 1.374 GB, free: 6.332 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.382, allocations: 0.5808 MB / 1.374 GB, free: 5.75 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005071/1.383, allocations: 36 kB / 1.374 GB, free: 5.715 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.384, allocations: 95.89 kB / 1.374 GB, free: 5.621 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008254/1.385, allocations: 169.5 kB / 1.374 GB, free: 5.453 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.385, allocations: 48 kB / 1.374 GB, free: 5.406 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001121/1.387, allocations: 0.7141 MB / 1.375 GB, free: 4.68 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.387, allocations: 0 / 1.375 GB, free: 4.68 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003751/1.39, allocations: 1.004 MB / 1.376 GB, free: 3.676 MB / 1.217 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.0003734/1.391, allocations: 147.1 kB / 1.376 GB, free: 3.523 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.402, allocations: 5.74 MB / 1.382 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.402, allocations: 0 / 1.382 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.009259/1.411, allocations: 3.788 MB / 1.386 GB, free: 9.898 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.413, allocations: 231.1 kB / 1.386 GB, free: 9.672 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009741/1.423, allocations: 5.181 MB / 1.391 GB, free: 4.434 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/1.425, allocations: 1.271 MB / 1.392 GB, free: 3.125 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009643/1.426, allocations: 347.2 kB / 1.392 GB, free: 2.781 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/1.426, allocations: 56.5 kB / 1.393 GB, free: 2.727 MB / 1.232 GB Notification: Performance of SimCode: time 1.062e-06/1.426, allocations: 0 / 1.393 GB, free: 2.727 MB / 1.232 GB Notification: Performance of Templates: time 0.09801/1.524, allocations: 63.96 MB / 1.455 GB, free: 2.664 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.58820417104289]