Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001543/0.001543, allocations: 77.7 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.002047/0.002047, allocations: 157.9 kB / 23.01 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.894/2.894, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.002301/0.002301, allocations: 71.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8594, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01408/0.8734, allocations: 13.31 MB / 1.2 GB, free: 7.758 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.8866, allocations: 9.142 MB / 1.209 GB, free: 1.922 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.8881, allocations: 85.88 kB / 1.209 GB, free: 1.875 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004286/0.8924, allocations: 1.674 MB / 1.21 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.8972, allocations: 1.574 MB / 1.212 GB, free: 0 / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.8994, allocations: 0.7639 MB / 1.213 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003841/0.9033, allocations: 2.519 MB / 1.215 GB, free: 14.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.9052, allocations: 1.178 MB / 1.216 GB, free: 13.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.9077, allocations: 1.212 MB / 1.217 GB, free: 13.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.9099, allocations: 1.064 MB / 1.218 GB, free: 12.92 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.9102, allocations: 160.9 kB / 1.219 GB, free: 12.92 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.9119, allocations: 0.7247 MB / 1.219 GB, free: 12.72 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008129/0.9128, allocations: 0.6209 MB / 1.22 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.9141, allocations: 0.761 MB / 1.221 GB, free: 12.03 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004559/0.9186, allocations: 2.748 MB / 1.223 GB, free: 11.08 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.9186, allocations: 0 / 1.223 GB, free: 11.08 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9186, allocations: 1.219 kB / 1.223 GB, free: 11.08 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.374e-05/0.9187, allocations: 0 / 1.223 GB, free: 11.08 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005094/0.9238, allocations: 2.106 MB / 1.225 GB, free: 9.805 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9238, allocations: 13.8 kB / 1.225 GB, free: 9.801 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.9359, allocations: 2.098 MB / 1.227 GB, free: 9.66 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.939, allocations: 1.178 MB / 1.229 GB, free: 8.984 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.9391, allocations: 90.23 kB / 1.229 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.9394, allocations: 117.1 kB / 1.229 GB, free: 8.902 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006693/0.9461, allocations: 2.893 MB / 1.232 GB, free: 7.566 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/0.9462, allocations: 16 kB / 1.232 GB, free: 7.555 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.9463, allocations: 50.11 kB / 1.232 GB, free: 7.52 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007365/0.9471, allocations: 179.3 kB / 1.232 GB, free: 7.504 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008398/0.9555, allocations: 2.797 MB / 1.235 GB, free: 6.281 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.9706, allocations: 8.135 MB / 1.242 GB, free: 188 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007292/0.9779, allocations: 2.218 MB / 1.245 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003389/0.9813, allocations: 1.207 MB / 1.246 GB, free: 14.45 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.9814, allocations: 8.906 kB / 1.246 GB, free: 14.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/0.9814, allocations: 44.44 kB / 1.246 GB, free: 14.39 MB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 3.096e-06/0.9814, allocations: 0 / 1.246 GB, free: 14.39 MB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.05033/1.032, allocations: 12.64 MB / 1.258 GB, free: 8.344 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/1.032, allocations: 65.38 kB / 1.258 GB, free: 8.281 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.034, allocations: 0.9833 MB / 1.259 GB, free: 7.727 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/1.034, allocations: 47.08 kB / 1.259 GB, free: 7.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000648/1.034, allocations: 0.7377 MB / 1.26 GB, free: 7.023 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005639/1.035, allocations: 476.9 kB / 1.26 GB, free: 6.609 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005863/1.035, allocations: 267.6 kB / 1.261 GB, free: 6.457 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.036, allocations: 364.4 kB / 1.261 GB, free: 6.109 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/1.039, allocations: 1.338 MB / 1.262 GB, free: 5.422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/1.043, allocations: 1.601 MB / 1.264 GB, free: 4.426 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00767/1.051, allocations: 2.993 MB / 1.267 GB, free: 2.703 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.051, allocations: 2.281 kB / 1.267 GB, free: 2.703 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01301/1.064, allocations: 4.389 MB / 1.271 GB, free: 14.92 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.064, allocations: 11.94 kB / 1.271 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.064, allocations: 4 kB / 1.271 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/1.07, allocations: 1.435 MB / 1.273 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/1.072, allocations: 431.3 kB / 1.273 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03022/1.102, allocations: 24.82 MB / 1.297 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/1.105, allocations: 307.7 kB / 1.297 GB, free: 2.559 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/1.106, allocations: 59.97 kB / 1.298 GB, free: 2.5 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009896/1.107, allocations: 441.4 kB / 1.298 GB, free: 2.059 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/1.107, allocations: 155.2 kB / 1.298 GB, free: 1.906 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.119, allocations: 4.397 MB / 1.302 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/1.119, allocations: 15.94 kB / 1.302 GB, free: 13.44 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.119, allocations: 16 kB / 1.302 GB, free: 13.42 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/1.119, allocations: 7.969 kB / 1.302 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/1.135, allocations: 6.137 MB / 1.308 GB, free: 7.168 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.135, allocations: 4 kB / 1.308 GB, free: 7.164 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/1.137, allocations: 379.3 kB / 1.309 GB, free: 6.793 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005056/1.142, allocations: 1.303 MB / 1.31 GB, free: 5.449 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/1.143, allocations: 35.97 kB / 1.31 GB, free: 5.414 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/1.17, allocations: 23.7 MB / 1.333 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.17, allocations: 4.219 kB / 1.333 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.182, allocations: 4.147 MB / 1.337 GB, free: 8.129 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.183, allocations: 374.8 kB / 1.338 GB, free: 7.762 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/1.183, allocations: 24 kB / 1.338 GB, free: 7.738 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.185, allocations: 315.4 kB / 1.338 GB, free: 7.43 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/1.186, allocations: 120.7 kB / 1.338 GB, free: 7.312 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.186, allocations: 51.97 kB / 1.338 GB, free: 7.262 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009432/1.187, allocations: 0.6506 MB / 1.339 GB, free: 6.605 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.187, allocations: 0 / 1.339 GB, free: 6.605 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002068/1.189, allocations: 0.563 MB / 1.339 GB, free: 6.043 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002687/1.189, allocations: 147.1 kB / 1.339 GB, free: 5.891 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.201, allocations: 4.966 MB / 1.344 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.201, allocations: 0 / 1.344 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007385/1.208, allocations: 3.417 MB / 1.348 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/1.21, allocations: 0.5088 MB / 1.348 GB, free: 12.68 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008979/1.219, allocations: 4.065 MB / 1.352 GB, free: 8.559 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.221, allocations: 0.8867 MB / 1.353 GB, free: 7.637 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00145/1.222, allocations: 408.3 kB / 1.353 GB, free: 7.234 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/1.222, allocations: 112.4 kB / 1.353 GB, free: 7.125 MB / 1.201 GB Notification: Performance of SimCode: time 1.042e-06/1.222, allocations: 0 / 1.353 GB, free: 7.125 MB / 1.201 GB Notification: Performance of Templates: time 0.06958/1.292, allocations: 40.31 MB / 1.393 GB, free: 15.49 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.381633816985413]