Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001144/0.001144, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009096/0.0009096, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.8957/0.8957, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.3/2.3, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.766e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008301/0.008329, allocations: 10.35 MB / 0.8999 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006764/0.01509, allocations: 6.807 MB / 0.9065 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.01568, allocations: 95.19 kB / 0.9066 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.01642, allocations: 389 kB / 0.907 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.01898, allocations: 1.701 MB / 0.9086 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/0.01988, allocations: 0.6627 MB / 0.9093 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002036/0.02191, allocations: 2.843 MB / 0.912 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.02292, allocations: 1.196 MB / 0.9132 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.02449, allocations: 2.109 MB / 0.9153 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008722/0.02536, allocations: 0.9895 MB / 0.9162 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.02552, allocations: 160 kB / 0.9164 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.02595, allocations: 319.6 kB / 0.9167 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.02631, allocations: 0.6348 MB / 0.9173 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.02675, allocations: 0.6429 MB / 0.9179 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.02789, allocations: 1.534 MB / 0.9194 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.0279, allocations: 0 / 0.9194 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.142e-06/0.0279, allocations: 0 / 0.9194 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.02791, allocations: 4 kB / 0.9195 GB, free: 11.2 MB / 0.8855 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.001882/0.02979, allocations: 2.178 MB / 0.9216 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.02983, allocations: 12.56 kB / 0.9216 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.03333, allocations: 0.924 MB / 0.9225 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.03446, allocations: 1.166 MB / 0.9236 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.0345, allocations: 86.69 kB / 0.9237 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.03466, allocations: 124.3 kB / 0.9238 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.03638, allocations: 1.698 MB / 0.9255 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.0364, allocations: 7.875 kB / 0.9255 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.03651, allocations: 51.98 kB / 0.9255 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/0.03679, allocations: 146.2 kB / 0.9257 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008123/0.0376, allocations: 0.6868 MB / 0.9264 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005484/0.04309, allocations: 7.837 MB / 0.934 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/0.04403, allocations: 0.5918 MB / 0.9346 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.04436, allocations: 303.1 kB / 0.9349 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.04441, allocations: 13 kB / 0.9349 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.04443, allocations: 50.39 kB / 0.9349 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.04444, allocations: 3.984 kB / 0.9349 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=153): time 0.009103/0.05354, allocations: 5.126 MB / 0.9399 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.05357, allocations: 68.72 kB / 0.94 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.05419, allocations: 0.9921 MB / 0.941 GB, free: 4.52 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.05428, allocations: 53.7 kB / 0.941 GB, free: 4.461 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.05465, allocations: 0.8213 MB / 0.9418 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.05496, allocations: 0.55 MB / 0.9424 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.0553, allocations: 293 kB / 0.9427 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.05541, allocations: 480.8 kB / 0.9431 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.05584, allocations: 371.7 kB / 0.9435 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.05644, allocations: 0.7375 MB / 0.9442 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.05752, allocations: 1.187 MB / 0.9453 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.05752, allocations: 0 / 0.9453 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.003979/0.0615, allocations: 2.533 MB / 0.9478 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.06152, allocations: 8 kB / 0.9478 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.06153, allocations: 15.88 kB / 0.9478 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004378/0.06591, allocations: 1.727 MB / 0.9495 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.06655, allocations: 179.7 kB / 0.9497 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.0785, allocations: 18.79 MB / 0.968 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/0.07924, allocations: 67.95 kB / 0.9681 GB, free: 7.469 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.07933, allocations: 55.95 kB / 0.9682 GB, free: 7.414 MB / 0.9323 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.07969, allocations: 236.3 kB / 0.9684 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.07994, allocations: 215 kB / 0.9686 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.08396, allocations: 2.491 MB / 0.971 GB, free: 4.422 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.08396, allocations: 12 kB / 0.971 GB, free: 4.41 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.08398, allocations: 20 kB / 0.9711 GB, free: 4.391 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.08399, allocations: 7.969 kB / 0.9711 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/0.08922, allocations: 3.649 MB / 0.9746 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.08922, allocations: 4 kB / 0.9746 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.08962, allocations: 115.8 kB / 0.9747 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004045/0.09366, allocations: 1.683 MB / 0.9764 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/0.09374, allocations: 35.97 kB / 0.9764 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/0.1054, allocations: 18.67 MB / 0.9946 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1054, allocations: 11.88 kB / 0.9947 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.1091, allocations: 2.416 MB / 0.997 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.1095, allocations: 362.7 kB / 0.9974 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.1097, allocations: 28 kB / 0.9974 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.1102, allocations: 55.97 kB / 0.9974 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.1105, allocations: 156.8 kB / 0.9976 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.1106, allocations: 47.97 kB / 0.9976 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003814/0.1109, allocations: 0.5704 MB / 0.9982 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.91e-07/0.1109, allocations: 0 / 0.9982 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001366/0.1123, allocations: 0.6719 MB / 0.9989 GB, free: 6.758 MB / 0.9636 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/0.1125, allocations: 143.1 kB / 0.999 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002987/0.1155, allocations: 3.229 MB / 1.002 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1155, allocations: 4 kB / 1.002 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.1176, allocations: 2.656 MB / 1.005 GB, free: 440 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.1188, allocations: 0.5293 MB / 1.005 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.1227, allocations: 3.116 MB / 1.008 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.1232, allocations: 0.5082 MB / 1.009 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007166/0.1239, allocations: 293.2 kB / 1.009 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007834/0.1247, allocations: 477.8 kB / 1.01 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of SimCode: time 1.562e-06/0.1247, allocations: 3.938 kB / 1.01 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of Templates: time 0.39/0.5147, allocations: 51.09 MB / 1.059 GB, free: 172.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.272444862406701]