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.001413/0.001413, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.001516/0.001516, allocations: 162.7 kB / 22.46 MB, free: 5.359 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 3.034/3.034, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.069e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03662/0.03665, allocations: 28.73 MB / 1.009 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02235/0.059, allocations: 13.07 MB / 1.022 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.0618, allocations: 194.5 kB / 1.022 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008655/0.07045, allocations: 3.214 MB / 1.026 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008511/0.07896, allocations: 2.834 MB / 1.028 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.08463, allocations: 2.036 MB / 1.03 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01129/0.09592, allocations: 7.798 MB / 1.038 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008294/0.1042, allocations: 4.612 MB / 1.042 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.1154, allocations: 4.908 MB / 1.047 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006746/0.1221, allocations: 3.051 MB / 1.05 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.1244, allocations: 0.5938 MB / 1.051 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.129, allocations: 1.419 MB / 1.052 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003793/0.1328, allocations: 2.517 MB / 1.055 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004686/0.1375, allocations: 2 MB / 1.057 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.1519, allocations: 9.603 MB / 1.066 GB, free: 5.008 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1519, allocations: 4 kB / 1.066 GB, free: 5.004 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1519, allocations: 0 / 1.066 GB, free: 5.004 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002639/0.1522, allocations: 0 / 1.066 GB, free: 5.004 MB / 1.014 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.01093/0.1631, allocations: 5.132 MB / 1.071 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1632, allocations: 8.031 kB / 1.071 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005984/0.1692, allocations: 1.032 MB / 1.072 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006582/0.1757, allocations: 3.009 MB / 1.075 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.176, allocations: 316.8 kB / 1.075 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008576/0.1769, allocations: 420.3 kB / 1.076 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.1896, allocations: 7.363 MB / 1.083 GB, free: 3.156 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.1897, allocations: 27.77 kB / 1.083 GB, free: 3.129 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004974/0.1902, allocations: 180 kB / 1.083 GB, free: 2.953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009418/0.1912, allocations: 372 kB / 1.083 GB, free: 2.586 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009902/0.2011, allocations: 5.103 MB / 1.088 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0331/0.2342, allocations: 19.03 MB / 1.107 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.2364, allocations: 1.32 MB / 1.108 GB, free: 8.598 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.2382, allocations: 1.242 MB / 1.109 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.211e-05/0.2383, allocations: 17.25 kB / 1.109 GB, free: 7.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.2383, allocations: 51.88 kB / 1.11 GB, free: 7.277 MB / 1.061 GB Notification: Performance of pre-optimization done (n=130): time 3.647e-06/0.2383, allocations: 0 / 1.11 GB, free: 7.277 MB / 1.061 GB Notification: Performance of matching and sorting (n=199): time 0.09326/0.3316, allocations: 22.82 MB / 1.132 GB, free: 404 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3317, allocations: 73.41 kB / 1.132 GB, free: 316 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5107/0.8424, allocations: 1.843 MB / 1.134 GB, free: 178.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003911/0.8427, allocations: 62.23 kB / 1.134 GB, free: 178.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/0.8436, allocations: 2.065 MB / 1.136 GB, free: 177.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/0.8441, allocations: 0.7019 MB / 1.136 GB, free: 177.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000642/0.8447, allocations: 410.4 kB / 1.137 GB, free: 177.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.091e-05/0.8447, allocations: 301.1 kB / 1.137 GB, free: 176.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.8465, allocations: 1.433 MB / 1.139 GB, free: 176.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.8484, allocations: 2.013 MB / 1.14 GB, free: 174.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/0.8521, allocations: 3.695 MB / 1.144 GB, free: 172.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.8521, allocations: 5.375 kB / 1.144 GB, free: 172.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009972/0.8621, allocations: 5.577 MB / 1.15 GB, free: 170.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.8621, allocations: 12.62 kB / 1.15 GB, free: 170.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/0.8622, allocations: 16.72 kB / 1.15 GB, free: 170.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006743/0.8689, allocations: 2.082 MB / 1.152 GB, free: 169.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.8706, allocations: 373.6 kB / 1.152 GB, free: 169.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03283/0.9034, allocations: 35.85 MB / 1.187 GB, free: 141.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.9062, allocations: 135.5 kB / 1.187 GB, free: 141.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/0.9065, allocations: 94.47 kB / 1.187 GB, free: 141.7 MB / 1.076 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.002597/0.9091, allocations: 1.501 MB / 1.189 GB, free: 141 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/0.9098, allocations: 269.7 kB / 1.189 GB, free: 140.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.9201, allocations: 5.135 MB / 1.194 GB, free: 138.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.9201, allocations: 19.03 kB / 1.194 GB, free: 138.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.189e-05/0.9202, allocations: 18.22 kB / 1.194 GB, free: 138.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.9202, allocations: 10.73 kB / 1.194 GB, free: 138.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.938, allocations: 8.444 MB / 1.202 GB, free: 135.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.938, allocations: 10.78 kB / 1.202 GB, free: 135.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/0.9389, allocations: 216.9 kB / 1.202 GB, free: 135.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00619/0.9451, allocations: 1.839 MB / 1.204 GB, free: 134.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/0.9453, allocations: 42.06 kB / 1.204 GB, free: 134.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03293/0.9783, allocations: 34.85 MB / 1.238 GB, free: 106.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.9783, allocations: 15.44 kB / 1.238 GB, free: 106.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009551/0.9878, allocations: 4.816 MB / 1.243 GB, free: 104.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/0.9894, allocations: 0.5208 MB / 1.244 GB, free: 104.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.9898, allocations: 44.44 kB / 1.244 GB, free: 104.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.9914, allocations: 126.2 kB / 1.244 GB, free: 104.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008014/0.9922, allocations: 202.2 kB / 1.244 GB, free: 104.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/0.9923, allocations: 63.34 kB / 1.244 GB, free: 104.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001837/0.9941, allocations: 1.206 MB / 1.245 GB, free: 103.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9941, allocations: 4 kB / 1.245 GB, free: 103.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003751/0.9979, allocations: 1.04 MB / 1.246 GB, free: 103.5 MB / 1.076 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.0003366/0.9982, allocations: 170.4 kB / 1.246 GB, free: 103.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009034/1.007, allocations: 6.011 MB / 1.252 GB, free: 99.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.007, allocations: 4.312 kB / 1.252 GB, free: 99.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006126/1.013, allocations: 4.265 MB / 1.256 GB, free: 96.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/1.017, allocations: 0.9048 MB / 1.257 GB, free: 96.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.029, allocations: 8.241 MB / 1.265 GB, free: 90.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002511/1.032, allocations: 2.572 MB / 1.268 GB, free: 88.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001801/1.033, allocations: 0.4963 MB / 1.268 GB, free: 88.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/1.034, allocations: 132.5 kB / 1.268 GB, free: 88.16 MB / 1.076 GB Notification: Performance of SimCode: time 1.883e-06/1.034, allocations: 0 / 1.268 GB, free: 88.16 MB / 1.076 GB Notification: Performance of Templates: time 0.07867/1.112, allocations: 60.26 MB / 1.327 GB, free: 30.11 MB / 1.076 GB " [Timeout remaining time 299] 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: 10.906025156378746]