Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0006469/0.0006469, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007669/0.0007669, allocations: 181.9 kB / 23.22 MB, free: 1.344 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.8907/0.8907, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.649/1.649, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.562e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02283/0.02286, allocations: 31.11 MB / 0.9821 GB, free: 3.73 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.04072, allocations: 14.29 MB / 0.9961 GB, free: 5.402 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.04392, allocations: 214.4 kB / 0.9963 GB, free: 5.191 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.004803/0.04872, allocations: 3.674 MB / 0.9999 GB, free: 1.508 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.006855/0.05558, allocations: 3.086 MB / 1.003 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.06004, allocations: 2.356 MB / 1.005 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.07116, allocations: 9.012 MB / 1.014 GB, free: 3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006447/0.0776, allocations: 5.497 MB / 1.019 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007043/0.08464, allocations: 5.695 MB / 1.025 GB, free: 7.68 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004255/0.0889, allocations: 3.659 MB / 1.028 GB, free: 4.012 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0009751/0.08988, allocations: 0.7148 MB / 1.029 GB, free: 3.297 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.09232, allocations: 1.626 MB / 1.031 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001913/0.09424, allocations: 3.016 MB / 1.034 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.09671, allocations: 2.362 MB / 1.036 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007925/0.1046, allocations: 11.36 MB / 1.047 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1046, allocations: 0 / 1.047 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1046, allocations: 4 kB / 1.047 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001557/0.1048, allocations: 3.938 kB / 1.047 GB, free: 0.875 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.5135/0.6183, allocations: 5.983 MB / 1.053 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6183, allocations: 8.781 kB / 1.053 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.6217, allocations: 1.179 MB / 1.054 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/0.6254, allocations: 3.451 MB / 1.058 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.6256, allocations: 377.1 kB / 1.058 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.626, allocations: 495.7 kB / 1.058 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007509/0.6335, allocations: 8.699 MB / 1.067 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-05/0.6336, allocations: 24.16 kB / 1.067 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.6339, allocations: 217.6 kB / 1.067 GB, free: 121 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004934/0.6344, allocations: 439.5 kB / 1.067 GB, free: 121 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005863/0.6403, allocations: 6.074 MB / 1.073 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.659, allocations: 21.2 MB / 1.094 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.6611, allocations: 1.906 MB / 1.096 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.6629, allocations: 1.743 MB / 1.098 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/0.6629, allocations: 23.31 kB / 1.098 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.663, allocations: 57.33 kB / 1.098 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 3.808e-06/0.663, allocations: 1.094 kB / 1.098 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.07915/0.7421, allocations: 38.67 MB / 1.136 GB, free: 91.23 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.7422, allocations: 81.52 kB / 1.136 GB, free: 91.14 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.7438, allocations: 2.032 MB / 1.138 GB, free: 89.09 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.7439, allocations: 76.14 kB / 1.138 GB, free: 89.01 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.7444, allocations: 2.347 MB / 1.14 GB, free: 86.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.7448, allocations: 0.9707 MB / 1.141 GB, free: 85.69 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/0.7453, allocations: 0.5024 MB / 1.141 GB, free: 85.18 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.12e-05/0.7453, allocations: 305.1 kB / 1.142 GB, free: 84.88 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.7469, allocations: 1.973 MB / 1.144 GB, free: 82.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.7486, allocations: 2.599 MB / 1.146 GB, free: 80.06 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/0.7521, allocations: 4.937 MB / 1.151 GB, free: 74.85 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.7521, allocations: 4 kB / 1.151 GB, free: 74.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.007118/0.7592, allocations: 7.629 MB / 1.158 GB, free: 67.15 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.7592, allocations: 12 kB / 1.158 GB, free: 67.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.7592, allocations: 19.94 kB / 1.158 GB, free: 67.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00435/0.7636, allocations: 3.209 MB / 1.162 GB, free: 63.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007365/0.7643, allocations: 406.9 kB / 1.162 GB, free: 63.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/0.7863, allocations: 32.54 MB / 1.194 GB, free: 30.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.7879, allocations: 159.8 kB / 1.194 GB, free: 30.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.788, allocations: 108 kB / 1.194 GB, free: 30.1 MB / 0.9948 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002228/0.7902, allocations: 1.805 MB / 1.196 GB, free: 28.29 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.7905, allocations: 314.1 kB / 1.196 GB, free: 27.98 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006737/0.7972, allocations: 7.229 MB / 1.203 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.7972, allocations: 28 kB / 1.203 GB, free: 20.64 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/0.7973, allocations: 28 kB / 1.203 GB, free: 20.61 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.7973, allocations: 12.98 kB / 1.203 GB, free: 20.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.8081, allocations: 11.4 MB / 1.214 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.8081, allocations: 8 kB / 1.214 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.8086, allocations: 232.4 kB / 1.215 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003807/0.8124, allocations: 2.857 MB / 1.217 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.8125, allocations: 59.94 kB / 1.217 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02531/0.8378, allocations: 31.33 MB / 1.248 GB, free: 5.98 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8378, allocations: 10.53 kB / 1.248 GB, free: 5.973 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00755/0.8454, allocations: 6.75 MB / 1.255 GB, free: 15.02 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.8464, allocations: 0.697 MB / 1.255 GB, free: 14.32 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.8466, allocations: 56 kB / 1.255 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.8475, allocations: 171.7 kB / 1.256 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005873/0.848, allocations: 265.3 kB / 1.256 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.8482, allocations: 72 kB / 1.256 GB, free: 13.77 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.00133/0.8495, allocations: 1.334 MB / 1.257 GB, free: 12.42 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8495, allocations: 3.938 kB / 1.257 GB, free: 12.42 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002817/0.8523, allocations: 1.367 MB / 1.258 GB, free: 11.05 MB / 1.042 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002624/0.8526, allocations: 171 kB / 1.259 GB, free: 10.88 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.006511/0.8591, allocations: 6.547 MB / 1.265 GB, free: 4.23 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.8591, allocations: 256 / 1.265 GB, free: 4.23 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.863, allocations: 4.25 MB / 1.269 GB, free: 15.91 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.8652, allocations: 1.02 MB / 1.27 GB, free: 14.94 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.8779, allocations: 11.02 MB / 1.281 GB, free: 3.816 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/0.8808, allocations: 3.224 MB / 1.284 GB, free: 0.5547 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.8812, allocations: 160.5 kB / 1.284 GB, free: 408 kB / 1.057 GB Notification: Performance of SimCode: time 1.433e-06/0.8812, allocations: 0 / 1.284 GB, free: 408 kB / 1.057 GB Notification: Performance of Templates: time 0.1433/1.025, allocations: 227.9 MB / 1.507 GB, free: 12.54 MB / 1.292 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 17.24053439963609]