Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001339/0.001339, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.00153/0.00153, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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 3.21/3.21, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.882e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04247/0.0425, allocations: 28.73 MB / 0.9057 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02588/0.06837, allocations: 13.08 MB / 0.9184 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.07152, allocations: 194.5 kB / 0.9186 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.009663/0.08118, allocations: 3.215 MB / 0.9218 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.008877/0.09006, allocations: 2.834 MB / 0.9245 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005877/0.09593, allocations: 2.038 MB / 0.9265 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01199/0.1079, allocations: 7.791 MB / 0.9341 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009374/0.1173, allocations: 4.627 MB / 0.9386 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.1276, allocations: 4.904 MB / 0.9434 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006264/0.1338, allocations: 3.051 MB / 0.9464 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.1356, allocations: 0.5898 MB / 0.947 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.1398, allocations: 1.419 MB / 0.9484 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004258/0.144, allocations: 2.521 MB / 0.9508 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.005214/0.1492, allocations: 1.996 MB / 0.9528 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.1636, allocations: 9.614 MB / 0.9622 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1636, allocations: 0 / 0.9622 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1636, allocations: 0 / 0.9622 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002899/0.1639, allocations: 0 / 0.9622 GB, free: 15.49 MB / 0.9323 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.01352/0.1774, allocations: 5.121 MB / 0.9672 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1775, allocations: 8.031 kB / 0.9672 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006857/0.1843, allocations: 1.577 MB / 0.9687 GB, free: 8.715 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008183/0.1925, allocations: 3.196 MB / 0.9718 GB, free: 5.43 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004277/0.193, allocations: 312.8 kB / 0.9721 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.1944, allocations: 436.3 kB / 0.9726 GB, free: 4.695 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/0.212, allocations: 7.363 MB / 0.9798 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002579/0.2123, allocations: 27.75 kB / 0.9798 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001616/0.2139, allocations: 184 kB / 0.98 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001084/0.215, allocations: 372 kB / 0.9803 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/0.2268, allocations: 5.106 MB / 0.9853 GB, free: 7.211 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03619/0.263, allocations: 19.18 MB / 1.004 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.2654, allocations: 1.309 MB / 1.005 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.2675, allocations: 1.243 MB / 1.007 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.2676, allocations: 25.31 kB / 1.007 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.2677, allocations: 47.88 kB / 1.007 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=130): time 5.41e-06/0.2677, allocations: 3.984 kB / 1.007 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of matching and sorting (n=199): time 0.09491/0.3626, allocations: 22.89 MB / 1.029 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.3626, allocations: 73.41 kB / 1.029 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.3659, allocations: 1.845 MB / 1.031 GB, free: 7.973 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.3661, allocations: 57.7 kB / 1.031 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002083/0.3681, allocations: 2.065 MB / 1.033 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000798/0.3689, allocations: 0.701 MB / 1.034 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008813/0.3698, allocations: 412.4 kB / 1.034 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.37, allocations: 301.1 kB / 1.034 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/0.3725, allocations: 1.43 MB / 1.036 GB, free: 2.98 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003118/0.3756, allocations: 2.013 MB / 1.038 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006187/0.3818, allocations: 3.696 MB / 1.041 GB, free: 12.78 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.3818, allocations: 4 kB / 1.041 GB, free: 12.78 MB / 1.01 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01306/0.3949, allocations: 5.678 MB / 1.047 GB, free: 7.031 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.3949, allocations: 12 kB / 1.047 GB, free: 7.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/0.3949, allocations: 20 kB / 1.047 GB, free: 7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.4049, allocations: 2.443 MB / 1.049 GB, free: 4.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.4065, allocations: 375.4 kB / 1.05 GB, free: 4.133 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4604/0.8669, allocations: 35.97 MB / 1.085 GB, free: 176.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.8693, allocations: 134.2 kB / 1.085 GB, free: 176.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000388/0.8697, allocations: 87.88 kB / 1.085 GB, free: 176.3 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.002139/0.8718, allocations: 1.507 MB / 1.086 GB, free: 175.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007234/0.8725, allocations: 331.6 kB / 1.087 GB, free: 175.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009141/0.8817, allocations: 5.134 MB / 1.092 GB, free: 173.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.8817, allocations: 20.5 kB / 1.092 GB, free: 173.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-05/0.8817, allocations: 21.59 kB / 1.092 GB, free: 173.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.8818, allocations: 10.08 kB / 1.092 GB, free: 173.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.8975, allocations: 8.44 MB / 1.1 GB, free: 169.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.8975, allocations: 14.19 kB / 1.1 GB, free: 169.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/0.8984, allocations: 218.4 kB / 1.1 GB, free: 169.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008398/0.9068, allocations: 2.195 MB / 1.102 GB, free: 169.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.907, allocations: 38.25 kB / 1.102 GB, free: 169.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03115/0.9382, allocations: 34.98 MB / 1.137 GB, free: 141.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.9382, allocations: 14.66 kB / 1.137 GB, free: 141.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009866/0.9481, allocations: 4.876 MB / 1.141 GB, free: 139.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/0.9495, allocations: 0.5286 MB / 1.142 GB, free: 139.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006237/0.9501, allocations: 40.73 kB / 1.142 GB, free: 139.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.9518, allocations: 132.7 kB / 1.142 GB, free: 139.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/0.9525, allocations: 202 kB / 1.142 GB, free: 139.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/0.9527, allocations: 59.59 kB / 1.142 GB, free: 139.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002178/0.9549, allocations: 1.203 MB / 1.143 GB, free: 138.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.9549, allocations: 4 kB / 1.143 GB, free: 138.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003765/0.9587, allocations: 1.054 MB / 1.144 GB, free: 138.6 MB / 1.01 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.0003214/0.959, allocations: 165.9 kB / 1.145 GB, free: 138.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009341/0.9683, allocations: 6.017 MB / 1.15 GB, free: 134.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.9683, allocations: 5.375 kB / 1.15 GB, free: 134.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006212/0.9745, allocations: 4.277 MB / 1.155 GB, free: 132 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/0.979, allocations: 0.909 MB / 1.156 GB, free: 131.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/0.9933, allocations: 8.361 MB / 1.164 GB, free: 127.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004052/0.9974, allocations: 2.581 MB / 1.166 GB, free: 127 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001878/0.9992, allocations: 499.5 kB / 1.167 GB, free: 126.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.9996, allocations: 136.6 kB / 1.167 GB, free: 126.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.052e-06/0.9996, allocations: 4 kB / 1.167 GB, free: 126.8 MB / 1.01 GB Notification: Performance of Templates: time 0.07617/1.076, allocations: 60.49 MB / 1.226 GB, free: 74.25 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.707585014984943]