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.001319/0.001319, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.000988/0.000988, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9173/0.9173, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.048/2.048, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 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 1.233e-06/1.233e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.275e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01706/0.01708, allocations: 10.36 MB / 0.8895 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007363/0.02444, allocations: 6.803 MB / 0.8962 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.02551, allocations: 91.19 kB / 0.8962 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009368/0.02644, allocations: 392.9 kB / 0.8966 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.02982, allocations: 1.704 MB / 0.8983 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.03093, allocations: 0.655 MB / 0.8989 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002929/0.03386, allocations: 2.866 MB / 0.9017 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.03517, allocations: 1.188 MB / 0.9029 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.03752, allocations: 2.105 MB / 0.9049 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.03856, allocations: 0.9895 MB / 0.9059 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.03874, allocations: 156 kB / 0.9061 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.03926, allocations: 323.6 kB / 0.9064 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.03967, allocations: 0.6348 MB / 0.907 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006188/0.04029, allocations: 0.6507 MB / 0.9076 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.04174, allocations: 1.534 MB / 0.9091 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.04175, allocations: 0 / 0.9091 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.61e-07/0.04175, allocations: 0 / 0.9091 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.684e-05/0.04179, allocations: 4 kB / 0.9091 GB, free: 7.5 MB / 0.8698 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.002351/0.04414, allocations: 2.174 MB / 0.9112 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.04417, allocations: 8.031 kB / 0.9112 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/0.04796, allocations: 0.9163 MB / 0.9121 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.04948, allocations: 1.177 MB / 0.9133 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.04953, allocations: 86.67 kB / 0.9134 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.04973, allocations: 116.4 kB / 0.9135 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.05167, allocations: 1.698 MB / 0.9151 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.05171, allocations: 15.83 kB / 0.9152 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.05182, allocations: 51.97 kB / 0.9152 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003404/0.05216, allocations: 150.2 kB / 0.9154 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.0531, allocations: 0.6829 MB / 0.916 GB, free: 92 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006702/0.0598, allocations: 7.822 MB / 0.9237 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.06089, allocations: 0.6079 MB / 0.9242 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.06127, allocations: 299.1 kB / 0.9245 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.06132, allocations: 17 kB / 0.9246 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.06135, allocations: 50.33 kB / 0.9246 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.06136, allocations: 0 / 0.9246 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of matching and sorting (n=153): time 0.01069/0.07205, allocations: 5.126 MB / 0.9296 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.07208, allocations: 64.72 kB / 0.9297 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.0728, allocations: 0.996 MB / 0.9306 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.07292, allocations: 49.7 kB / 0.9307 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.0733, allocations: 0.8252 MB / 0.9315 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.07364, allocations: 0.55 MB / 0.932 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/0.07401, allocations: 289 kB / 0.9323 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000231/0.07424, allocations: 480.8 kB / 0.9328 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.07472, allocations: 375.7 kB / 0.9331 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.07533, allocations: 0.7334 MB / 0.9338 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.07649, allocations: 1.187 MB / 0.935 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.07649, allocations: 4 kB / 0.935 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.00441/0.0809, allocations: 2.529 MB / 0.9375 GB, free: 9.496 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.08092, allocations: 8 kB / 0.9375 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.08094, allocations: 11.94 kB / 0.9375 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004943/0.08588, allocations: 1.738 MB / 0.9392 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/0.0867, allocations: 179.7 kB / 0.9394 GB, free: 7.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.1001, allocations: 18.77 MB / 0.9577 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.1012, allocations: 67.95 kB / 0.9578 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.1014, allocations: 55.97 kB / 0.9578 GB, free: 3.738 MB / 0.9167 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.0004748/0.1018, allocations: 234.7 kB / 0.958 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.1022, allocations: 219 kB / 0.9582 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/0.1067, allocations: 2.491 MB / 0.9607 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.1067, allocations: 12 kB / 0.9607 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/0.1067, allocations: 20 kB / 0.9607 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.1067, allocations: 7.969 kB / 0.9607 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006124/0.1129, allocations: 3.649 MB / 0.9643 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.1129, allocations: 4 kB / 0.9643 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.1133, allocations: 119.8 kB / 0.9644 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004629/0.118, allocations: 1.675 MB / 0.966 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.1181, allocations: 39.97 kB / 0.9661 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.131, allocations: 18.65 MB / 0.9843 GB, free: 7.527 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.131, allocations: 11.88 kB / 0.9843 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004049/0.1351, allocations: 2.424 MB / 0.9867 GB, free: 4.988 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.1357, allocations: 358.7 kB / 0.987 GB, free: 4.637 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.1359, allocations: 35.98 kB / 0.987 GB, free: 4.602 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.1365, allocations: 47.98 kB / 0.9871 GB, free: 4.555 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004574/0.137, allocations: 160.9 kB / 0.9872 GB, free: 4.398 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-05/0.1371, allocations: 47.97 kB / 0.9873 GB, free: 4.352 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004344/0.1375, allocations: 0.5743 MB / 0.9878 GB, free: 3.773 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1375, allocations: 0 / 0.9878 GB, free: 3.773 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0018/0.1393, allocations: 0.6719 MB / 0.9885 GB, free: 3.102 MB / 0.948 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.0002699/0.1396, allocations: 134.4 kB / 0.9886 GB, free: 2.961 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003548/0.1431, allocations: 3.232 MB / 0.9918 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.1431, allocations: 0 / 0.9918 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.1456, allocations: 2.656 MB / 0.9944 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.147, allocations: 0.5182 MB / 0.9949 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.1513, allocations: 3.124 MB / 0.9979 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.1518, allocations: 0.5043 MB / 0.9984 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007932/0.1526, allocations: 301.2 kB / 0.9987 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000779/0.1534, allocations: 477.8 kB / 0.9992 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of SimCode: time 1.423e-06/0.1534, allocations: 0 / 0.9992 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of Templates: time 0.05578/0.2092, allocations: 52.05 MB / 1.05 GB, free: 4.484 MB / 1.01 GB " [Timeout remaining time 300] 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.518736226018518]