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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 249.9 MB, free: 13.58 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 489.7 MB / 0.7761 GB, free: 33.54 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 62.66 kB / 1.127 GB, free: 37.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3622, allocations: 172.1 MB / 1.295 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01843/0.3806, allocations: 14.23 MB / 1.309 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.396, allocations: 9.508 MB / 1.318 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.3976, allocations: 55.69 kB / 1.318 GB, free: 3.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004715/0.4023, allocations: 1.695 MB / 1.32 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.4074, allocations: 1.582 MB / 1.321 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.4098, allocations: 0.771 MB / 1.322 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004211/0.414, allocations: 2.52 MB / 1.325 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.4159, allocations: 1.122 MB / 1.326 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.4179, allocations: 1.071 MB / 1.327 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.42, allocations: 1.207 MB / 1.328 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.4203, allocations: 164 kB / 1.328 GB, free: 9.586 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.4221, allocations: 0.8072 MB / 1.329 GB, free: 8.777 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007152/0.4228, allocations: 0.6386 MB / 1.329 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.424, allocations: 0.9368 MB / 1.33 GB, free: 7.195 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.4279, allocations: 2.771 MB / 1.333 GB, free: 4.414 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.4279, allocations: 4 kB / 1.333 GB, free: 4.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4279, allocations: 0 / 1.333 GB, free: 4.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.033e-05/0.4279, allocations: 0 / 1.333 GB, free: 4.41 MB / 1.029 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.00474/0.4327, allocations: 2.189 MB / 1.335 GB, free: 2.164 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4327, allocations: 8.031 kB / 1.335 GB, free: 2.156 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.444, allocations: 2.094 MB / 1.337 GB, free: 60 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.4473, allocations: 1.296 MB / 1.338 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-05/0.4474, allocations: 90.73 kB / 1.339 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.4477, allocations: 124.1 kB / 1.339 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006237/0.454, allocations: 2.682 MB / 1.341 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/0.454, allocations: 7.938 kB / 1.341 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.4542, allocations: 55.98 kB / 1.341 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006192/0.4548, allocations: 178.1 kB / 1.342 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007819/0.4627, allocations: 2.803 MB / 1.344 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.4791, allocations: 10.48 MB / 1.355 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006708/0.4858, allocations: 2.452 MB / 1.357 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003221/0.489, allocations: 1.21 MB / 1.358 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.543e-05/0.4891, allocations: 12.98 kB / 1.358 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.4891, allocations: 47.56 kB / 1.358 GB, free: 9.754 MB / 1.061 GB Notification: Performance of pre-optimization done (n=89): time 3.276e-06/0.4891, allocations: 0 / 1.358 GB, free: 9.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=131): time 0.04938/0.5385, allocations: 13.34 MB / 1.371 GB, free: 12.19 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.5386, allocations: 64.72 kB / 1.371 GB, free: 12.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.5408, allocations: 1.113 MB / 1.372 GB, free: 10.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.5411, allocations: 49.7 kB / 1.372 GB, free: 10.93 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006708/0.5418, allocations: 0.7287 MB / 1.373 GB, free: 10.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006751/0.5425, allocations: 475.9 kB / 1.374 GB, free: 9.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007114/0.5432, allocations: 267.5 kB / 1.374 GB, free: 9.461 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5434, allocations: 361.8 kB / 1.374 GB, free: 9.102 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.5468, allocations: 1.343 MB / 1.375 GB, free: 7.758 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.5504, allocations: 1.604 MB / 1.377 GB, free: 6.055 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007164/0.5576, allocations: 2.987 MB / 1.38 GB, free: 2.973 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5576, allocations: 4 kB / 1.38 GB, free: 2.969 MB / 1.076 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01245/0.5701, allocations: 4.404 MB / 1.384 GB, free: 14.51 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.5701, allocations: 8 kB / 1.384 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.5701, allocations: 8 kB / 1.384 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005614/0.5757, allocations: 1.431 MB / 1.386 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.5778, allocations: 439.2 kB / 1.386 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03098/0.6088, allocations: 26.7 MB / 1.412 GB, free: 64 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.6113, allocations: 303.5 kB / 1.412 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/0.6116, allocations: 59.91 kB / 1.412 GB, free: 15.71 MB / 1.123 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.001071/0.6127, allocations: 437.5 kB / 1.413 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004862/0.6132, allocations: 167 kB / 1.413 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.6256, allocations: 4.41 MB / 1.417 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.6256, allocations: 12 kB / 1.417 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.881e-05/0.6257, allocations: 12.11 kB / 1.417 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.6257, allocations: 11.92 kB / 1.417 GB, free: 10.61 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.6426, allocations: 6.72 MB / 1.424 GB, free: 3.719 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.6426, allocations: 4 kB / 1.424 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/0.6445, allocations: 379.3 kB / 1.424 GB, free: 3.344 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005295/0.6498, allocations: 1.311 MB / 1.426 GB, free: 1.992 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/0.65, allocations: 35.97 kB / 1.426 GB, free: 1.957 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02958/0.6796, allocations: 25.51 MB / 1.451 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.6796, allocations: 7.969 kB / 1.451 GB, free: 6.613 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.6913, allocations: 4.168 MB / 1.455 GB, free: 2.348 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/0.6927, allocations: 471.9 kB / 1.455 GB, free: 1.867 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/0.6932, allocations: 27.94 kB / 1.455 GB, free: 1.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/0.6955, allocations: 307.5 kB / 1.455 GB, free: 1.539 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/0.6961, allocations: 132.6 kB / 1.456 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.6963, allocations: 51.97 kB / 1.456 GB, free: 1.359 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00141/0.6977, allocations: 0.7526 MB / 1.456 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6977, allocations: 0 / 1.456 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002641/0.7003, allocations: 0.5664 MB / 1.457 GB, free: 40 kB / 1.154 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.0004312/0.7007, allocations: 139.2 kB / 1.457 GB, free: 15.89 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01246/0.7132, allocations: 4.97 MB / 1.462 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/0.7132, allocations: 4 kB / 1.462 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008241/0.7214, allocations: 3.417 MB / 1.465 GB, free: 7.16 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003784/0.7252, allocations: 0.5494 MB / 1.466 GB, free: 6.629 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.7362, allocations: 4.171 MB / 1.47 GB, free: 2.395 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/0.7382, allocations: 1.481 MB / 1.471 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007664/0.739, allocations: 135.3 kB / 1.471 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of SimCode: time 1.213e-06/0.739, allocations: 4 kB / 1.471 GB, free: 0.75 MB / 1.17 GB Notification: Performance of Templates: time 0.1331/0.8721, allocations: 112.7 MB / 1.581 GB, free: 56 kB / 1.279 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] 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