Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0008568/0.0008568, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001052/0.001052, allocations: 178.2 kB / 23.21 MB, free: 1.34 MB / 18.57 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 0.9278/0.9278, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.9 MB / 0.6229 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.606e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02138/0.02141, allocations: 28.73 MB / 1.01 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.03991, allocations: 13.06 MB / 1.023 GB, free: 8.141 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/0.04346, allocations: 194.5 kB / 1.023 GB, free: 7.949 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.005437/0.0489, allocations: 3.217 MB / 1.026 GB, free: 4.723 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.007432/0.05633, allocations: 2.833 MB / 1.029 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.004914/0.06124, allocations: 2.033 MB / 1.031 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00886/0.0701, allocations: 7.801 MB / 1.039 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006648/0.07675, allocations: 4.612 MB / 1.043 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.497/0.5738, allocations: 4.908 MB / 1.048 GB, free: 56.66 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00487/0.5786, allocations: 3.053 MB / 1.051 GB, free: 56.66 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001792/0.5804, allocations: 0.5924 MB / 1.052 GB, free: 56.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.5845, allocations: 1.413 MB / 1.053 GB, free: 56.66 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003135/0.5876, allocations: 2.523 MB / 1.055 GB, free: 56.66 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.5916, allocations: 1.992 MB / 1.057 GB, free: 56.66 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.6022, allocations: 9.609 MB / 1.067 GB, free: 56.31 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.6023, allocations: 0 / 1.067 GB, free: 56.31 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6023, allocations: 2.75 kB / 1.067 GB, free: 56.31 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003616/0.6026, allocations: 0.9375 kB / 1.067 GB, free: 56.31 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01538/0.618, allocations: 5.128 MB / 1.072 GB, free: 54.28 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.618, allocations: 7.875 kB / 1.072 GB, free: 54.28 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.6228, allocations: 1.029 MB / 1.073 GB, free: 54 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006461/0.6293, allocations: 3.012 MB / 1.076 GB, free: 53.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.6295, allocations: 312.9 kB / 1.076 GB, free: 53.29 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001759/0.6313, allocations: 423.2 kB / 1.076 GB, free: 53.29 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.6479, allocations: 7.365 MB / 1.084 GB, free: 50.53 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/0.6481, allocations: 19.73 kB / 1.084 GB, free: 50.53 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/0.6494, allocations: 185.5 kB / 1.084 GB, free: 50.39 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007284/0.6501, allocations: 375.9 kB / 1.084 GB, free: 50.36 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.6615, allocations: 5.109 MB / 1.089 GB, free: 48.62 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02851/0.69, allocations: 19.01 MB / 1.108 GB, free: 36.48 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.6916, allocations: 1.319 MB / 1.109 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.693, allocations: 1.24 MB / 1.11 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.583e-05/0.693, allocations: 18.14 kB / 1.11 GB, free: 35.49 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.6931, allocations: 51.56 kB / 1.11 GB, free: 35.44 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 3.627e-06/0.6931, allocations: 0 / 1.11 GB, free: 35.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=199): time 0.05098/0.7441, allocations: 22.82 MB / 1.133 GB, free: 30.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.7441, allocations: 72 kB / 1.133 GB, free: 30.69 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.7465, allocations: 1.847 MB / 1.134 GB, free: 29.95 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003732/0.7469, allocations: 62.61 kB / 1.135 GB, free: 29.89 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.7481, allocations: 2.065 MB / 1.137 GB, free: 28.32 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008971/0.749, allocations: 0.7024 MB / 1.137 GB, free: 27.77 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006921/0.7497, allocations: 410.2 kB / 1.138 GB, free: 27.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.7497, allocations: 302.5 kB / 1.138 GB, free: 27.27 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.7515, allocations: 1.433 MB / 1.139 GB, free: 26.69 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.7532, allocations: 2.01 MB / 1.141 GB, free: 25.43 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.7564, allocations: 3.699 MB / 1.145 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.7564, allocations: 5.25 kB / 1.145 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006472/0.7629, allocations: 5.58 MB / 1.15 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.7629, allocations: 14.91 kB / 1.15 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.7629, allocations: 17.16 kB / 1.15 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00345/0.7664, allocations: 2.077 MB / 1.152 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7674, allocations: 379.3 kB / 1.153 GB, free: 20.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/0.7873, allocations: 35.86 MB / 1.188 GB, free: 5.195 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.7894, allocations: 131.9 kB / 1.188 GB, free: 5.066 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.7896, allocations: 84 kB / 1.188 GB, free: 4.984 MB / 1.01 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002672/0.7923, allocations: 1.512 MB / 1.189 GB, free: 3.488 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/0.7929, allocations: 266.4 kB / 1.19 GB, free: 3.227 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006415/0.7993, allocations: 5.131 MB / 1.195 GB, free: 14.09 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.7993, allocations: 23.98 kB / 1.195 GB, free: 14.06 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-05/0.7994, allocations: 19.94 kB / 1.195 GB, free: 14.04 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.7994, allocations: 7.969 kB / 1.195 GB, free: 14.04 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.8124, allocations: 8.446 MB / 1.203 GB, free: 5.559 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.8124, allocations: 8 kB / 1.203 GB, free: 5.551 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.8129, allocations: 215.2 kB / 1.203 GB, free: 5.352 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/0.8161, allocations: 1.841 MB / 1.205 GB, free: 3.469 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.8164, allocations: 36 kB / 1.205 GB, free: 3.434 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02328/0.8396, allocations: 34.86 MB / 1.239 GB, free: 14.93 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.8397, allocations: 11.66 kB / 1.239 GB, free: 14.92 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006234/0.8459, allocations: 4.814 MB / 1.244 GB, free: 10.01 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.8473, allocations: 0.5221 MB / 1.244 GB, free: 9.488 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.8476, allocations: 55.86 kB / 1.244 GB, free: 9.434 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/0.8484, allocations: 123.8 kB / 1.244 GB, free: 9.312 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/0.8489, allocations: 207.7 kB / 1.245 GB, free: 9.121 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.849, allocations: 56 kB / 1.245 GB, free: 9.066 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001271/0.8503, allocations: 1.204 MB / 1.246 GB, free: 7.848 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8503, allocations: 0 / 1.246 GB, free: 7.848 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.003363/0.8537, allocations: 1.042 MB / 1.247 GB, free: 6.809 MB / 1.073 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002931/0.854, allocations: 178.2 kB / 1.247 GB, free: 6.641 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0064/0.8604, allocations: 5.989 MB / 1.253 GB, free: 0.5352 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/0.8604, allocations: 10.78 kB / 1.253 GB, free: 0.5273 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00418/0.8645, allocations: 4.261 MB / 1.257 GB, free: 12.08 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.8677, allocations: 0.9153 MB / 1.258 GB, free: 11.2 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.8803, allocations: 8.795 MB / 1.267 GB, free: 2.344 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/0.8835, allocations: 2.637 MB / 1.269 GB, free: 15.68 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/0.8841, allocations: 152.5 kB / 1.269 GB, free: 15.52 MB / 1.104 GB Notification: Performance of SimCode: time 1.703e-06/0.8841, allocations: 0 / 1.269 GB, free: 15.52 MB / 1.104 GB Notification: Performance of Templates: time 0.7421/1.626, allocations: 465.2 MB / 1.724 GB, free: 378.9 MB / 1.385 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 19.963017429225147]